Ich denke das hier beantwortet es wohl am besten:
http://openlayers.org/dev/examples/draw-feature.html
http://trac.openlayers.org/wiki/Documentation

Oder gibt es etwas ganz konkretes, woran es scheitert?