Sometimes, after making out with my girlfriend for a while, I pre ejaculate, and can not regain my erection.

Is there any way to prevent this from happening?