URGENT

Why does it hurt when I pee!? I have to pee a lot all of the sudden. And I haven’t had sex in like months, I’m on my period tho (if that has anything to do with it idk) PLS HELPPPP!?!?!?