Nonsteroidal anti-inflammatory drugs (NSAIDs) are used to treat pain and swelling. There are NSAIDs available over the counter and others that are prescription-only. NSAIDs include products such as ibuprofen and naproxen. Possible side effects are nausea and stomach ache; these drugs should be taken with food. Aspirin is included in the NSAID category, but is rarely prescribed for treating arthritis.