Menstrual cramps are treatable. Your doctor may recommend: Pain relievers. Your doctor may suggest taking over-the-counter pain relievers, such as ibuprofen (Advil, Motrin IB, others) or naproxen sodium (Aleve), at regular doses starting the day before you expect your period to begin. Prescription nonsteroidal anti-inflammatory drugs (NSAIDs), such as mefenamic acid (Ponstel), also are available.