Ibuprofen works by reducing pain, inflammation, and fever by inhibiting the production of certain chemicals in the body. Paracetamol (also known as acetaminophen): It is an analgesic and antipyretic medication that helps relieve pain and reduce fever.