Over-the-counter medications like nonsteroidal anti-inflammatory drugs (NSAIDs) help alleviate mild to moderate joint pain and inflammation. However, their effectiveness may vary depending on the individual and the underlying cause of the joint pain.