Ibuprofen and naproxen are NSAIDs (nonsteroidal anti-inflammatory drugs) — they reduce pain and inflammation together, which makes them a good fit for muscle strains, menstrual cramps, and joint pain.

Acetaminophen (Tylenol) relieves pain and fever but doesn’t reduce inflammation. It’s often the better choice if you have a sensitive stomach, are on blood thinners, or have certain conditions where NSAIDs aren’t recommended.

The most important safety rule: don’t exceed the labeled maximum daily dose of either, and check every other medication you’re taking (including cold and flu combination products) for acetaminophen or ibuprofen you might be double-dosing without realizing it.

If over-the-counter doses aren’t controlling your pain after a few days, or the pain is severe or accompanied by other symptoms, that’s a sign to talk to a healthcare provider rather than simply taking more.