How do you get rid of a uti fast?

I’m in so much pain and I’ve been on my period and now I have a uti so if y’all have tips or tricks on how to get it to go away please help