However, some of the more common side effects of the different categories of medications used to treat arthritis are: Nonsteroidal anti-inflammatory drugs (NSAIDs). Edema (swelling of the feet) heartburn, stomach upset and stomach ulcers and possibly increased risk of blood clots, heart attack and stroke.