1. Nonsteroidal Anti-Inflammatory Drugs (NSAIDs) These are the most commonly prescribed medications for managing pain and inflammation in dogs. They help reduce swelling and improve mobility. Common NSAIDs for dogs include carprofen (Rimadyl), meloxicam (Metacam), and deracoxib (Deramaxx).