Possible bladder infection?

Amethyst

Im in highschool and the bathroom rules are dumb. You can't use the bathroom past 7th period (after lunch btw) and can't go during note taking (which takes up most of the period) and ten minutes after the late bell and ten minutes before the period ends. Also the bathroom is disgusting af.

I drink a lot of water so I hold my pee alot. I try to go during lunch but either the bathrooms are out of order and I have to go to a different floor to pee and miss getting lunch or the bathrooms are over crowded.

Now it burns to pee and its so uncomfortable because I feel like I have a full bladder constantly and only a little bit comes out ans hurts like hell.

What do I do? Any remedies to stop the pain?