I had this happen to me before, but not as frequently or painfully as you describe it.

Have you been having relations with someone else? That's when it always happens to me.

I would see an urologist. I'm pretty sure they'll have answers for you.