Ibuprofen is an NSAID medication commonly employed to relieve pain and redness. The belongs to the family of medicines called noncopyrightal anti-inflammatory drugs , and operates by preventing the synthesis of hormone-like substances , which are responsible for triggering pain and inflammation .