Non-steroidal anti-inflammatory drugs (NSAIDs) Some topical NSAIDs are available without a prescription. They can be particularly effective if you have osteoarthritis in your knees or hands. As well as helping to ease pain, they can also help reduce any swelling in your joints.