It is used to relieve moderately severe pain, such as muscular aches and pains, menstrual cramps, headaches, and dental pain. Mefenamic acid relieves pain and inflammation as long as it is being taken, however it does not correct the cause of the pain. This medication may be available under multiple brand names and/or in several different forms.