If you’ve been diagnosed with gout, your doctor will probably recommend taking a nonsteroidal anti-inflammatory drug (NSAID) if you’re having an acute attack. These medications may help reduce the swelling, tenderness, inflammation and pain associated with gout. There are many different types, some of which are available over-the-counter (without a prescription) and others that your doctor can prescribe.