Pain after sex

Every time I finish having sex with my boyfriend I always get pain when peeing, and this could be straight after or the next day or even a few days later, I've been to the doctors thinking its a urine infection, but it never is, I have also been tested for STI's since I don't use a condom. It get so bad I sometimes pee myself because I can't control my bladder. However I use to get this pain all the time when I was only 8/9 so maybe it's nothing to do with sex. 
Any suggestions please comment, thanks :) 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors