Tmi Alert

my period has been extremely irregular, the past 4 months I've had a period every week. now suddenly I'm having extremely bad pain when I pee, the only thing that helps with pain rn is hot water. any advice on what it is or what to do to get rid of it?