When this happened on my Golf it was caused by the wiper motor's holding bolts having worked loose. The motor would rock and jam up the linkage and the vibration on the road would free it for a while - it got worse quite quickly.
Your fault may be something entirely different - you don't mention the make & model of your car.
Good luck...
Peccavi
December 2009