I have a question

Sometimes when I masterbate, it feels like I have to pee, I looked it up and there’s a possibility that I have a uti but it doesn’t hurt to masterbate or pee. Just curious if maybe it’s just how my vaginia was tilted or something else?