Very Bad Cramps

I got my period this morning and had to get out of the shower fast because I felt so crampy I felt like I was gonna black out. I went and sat on my bed and took ibuprofen and 4 minutes later I ran to the bathroom and threw up. I feel a lil better but I still hurt really bad and feel nauseous. What do I do? I’m missing school today because it’s so bad