Ibuprofen is an NSAID compound commonly employed to lessen discomfort and swelling . The belongs to a family of medicines called NSAIDs , and operates by preventing the release of prostaglandins , which are responsible for triggering pain and swelling . Patients often find ibuprofen useful for conditions such as migraines , muscle aches , menstrual