Anti-inflammatory painkillers work by reducing inflammation, hence killing the pain. Aspirin, naproxen, and ibuprofen are examples of Over-the-counter NSAIDs. On the other hand, acetaminophen works by making the brain increase the pain threshold of the body. That way, you feel less pain. However, if OTC analgesics don't relieve your pain, your doctor may prescribe something stronger.