Urgency to pee

Xxx

Just need some advice please!

After sex, I pee straight away, but the day after I feel almost as though I have a UTI. I get a real bad urgent feeling of needing to pee. However, this feeling only lasts a couple of hours and then goes? If it only lasts a couple of hours, surely it isn’t a UTI?

What else could it be?