Urge to pee

I’ve been having the urge to pee for 2 days now. Anytime i’m just relaxing or doing normal stuff it just feels like i have to pee. I’ll get a feeling like i have to go badly at one point, i’ll go and barely anything comes out and it hurts after i’m done. I’m concerned if i have a UTI... what do you think?