Over-the-counter (OTC) pain relief, such as ibuprofen, may help treat cramps before and during the menstrual cycle. Doctors may also recommend other home remedies, such as dietary changes and heat ... Runner's World: How to Keep Period Cramps From Derailing Your Run or Race