Pain help

So, I have an issue. When I have sex a few hours later, or a day later or even 10 minutes after, I get UTI pain symptoms. I always pee after sex. This has happened with every sexual partner except one, and I have had 3. I am married, and it still happens. My husband gets checked for STDs and STIs regularly cause he is in the military, and I get checked too. (Not saying he is cheating, just saying we are getting checked). I don’t understand why it happens. It’s happen with 2 out of 3 of the guys I have been sexually active with. Any tips on how to help stop this?