OUCH! UTI

so I have a uti and i’m on my period so right now I have a tampon in but I keep feeling like I have to pee so I go and it hurts so bad to take a dry tampon out😭 any tips for helping uti’s?