Ibuprofen is an NSAID compound commonly taken to lessen pain and redness. This belongs to a family of medicines called anti-inflammatory agents, and functions by preventing the production of prostaglandins , which are responsible for causing pain and puffiness. Patients often discover ibuprofen helpful for conditions such as migraines , muscle pain