Sex/bladder infections

Bladder infections.... I get them all the time, especially when sex is really good! Does anyone else have this problem, and what do you do?