uti or something else?

I am sexually active and I pee after sex. Recently my boyfriend and I have had some rough sex. But a few nights ago I experienced some burning and pain when I pee. I dont get the feeling like I have to go 24/7. And I did pee a few times and it didnt burn or burn as bad. Could this be because of the rough sex or am I getting a uti?