Help?!

I went to the beach the day before I got my period and I had a uti a couple days before going to the beach , now I’m on my period and when I wipe it burns ? Any ideas ? *plus I showered a little later that night after going to the beach*