Cramps

Hey everyone every time I’m on my period my cramps are literally so horrible to the point I’m on the floor all day and have to cancel things. I use to be able to take pills but I can’t anymore. Does anyone have tips for stopping cramps