Periods-leaks-school

Chloe
So I'm going to ask this before it happens. So if I'm at school and I leak a lot what do I do? I know your most likely going to say something like cover it with a sweat shirt or bring spare pants or something, but my school has a dress code and if I put my sweat shirt around my waist it would be obvious that something has happened. So what should I do?