Cramps

I'm having bad cramps in class and I don't have medicine. How can I get the cramps to stop?