UTI confusion

Okay ladies, so for the past couple of days I’ve been waking up around 4-5am with the REALLY STRONG URGE TO PEE! Like, my stomach is actually super sore from needing to go! But when I go to the bathroom, I CANT PEE. It like almost physically hurts. Can this be a UTI?

I’ve had them before but this time it only happens around that time. For the rest of the day I’m fine!

I’m confused. Please someone help!