Analgesics are medications that relieve pain. They work either by reducing inflammation or by changing the way the brain processes and perceives pain. Side effects include heartburn, nausea, and ...