starting my period on the first day of the gym!

guys!! help!! im going to a new gym for the first time today and i literally just got my period. the pain is pretty bad and anxiety is making it worse, i only can wear pads and im really anxious! what if I accidentally leak or something? does anyone have tips?