Pain medications such as the nonsteroidal anti-inflammatory drugs (NSAIDs) or naproxen may be prescribed to help ease painful menstrual cramps. Getting regular exercise can help relieve symptoms.