Over-the-counter nonsteroidal anti-inflammatory drugs (NSAIDs) include ibuprofen and naproxen. Most people with rheumatoid arthritis need a prescription NSAID as they offer a higher dose with longer-lasting results and require fewer doses throughout the day.