26+4 and have had really bad period cramps all night what do I do?

I’ve tried drinking water or eating but I’ve been up all night. It’s hurts so bad I feel like I’m going to throw up.