Another NSAID, ibuprofen, has pain relieving effects similar to those of acetylsalicylic acid. But it tends to work better even at a lower dose and have milder side effects. It is a very good anti-inflammatory medication, originally developed to treat arthritis, said Duke's Collins.