Serial communication problem: how to send data back and forth?

I'm using Processing and Arduino to control my mini plotter. The problem is, that my Processing sketch send data too fast. How can I make it wait, until let's say it receives an "ok, go on" sign from my Arduino?
I tried multiple things, none of them worked. Could you please help me?