Your pain after urinating along with recurrent UTIs after sex is common and usually treatable. Since your periods stay regular, this isn't likely hormonal.
Next Steps
A urine culture test can confirm if infection is the cause and guide your treatment.
Health Tips
Urinating right after sex and staying hydrated can lower how often this happens for you.