Why must i get my period!?

When im on my period my cramps get realy really bad like a i cant move at all or it will hurt bad this happens in school all the time what can i do to make them better?

P.S im 12 years old