Period Cramps

I just started last night, I could barely sleep because of how bad the cramps was. I took ibuprofen before bed, it didn't help at all. Woke up around 9 took two more ibuprofen, still isn't helping. Any advice on what to do?