UTI after sex

Has anyone else gone to the bathroom after sex, and it felt weird? Uncomfortable and some pain? 
This happens to me at times. Sometimes turns to be a UTI and sometimes it's nothing