I have a question........

Can I still masturbate even if I have a UTI ? Like, is it ok? Cuz I know you're not supposed to have sex with anyone till it's gone. But what if it's just me? This is so embarrassing and TMI but... a girls gotta do what a girls gotta do . 🤷🏻‍♀️