Sexy time

My boyfriend and i had sex last night. I went pee after because i know you can get a UTI from not going after. But today i feel like i have to pee every 5 minutes and have an uncomfortable feeling. Can someone help?