With any of these medications, an individual should call a doctor if he or she thinks they are not working or if he or she is having other problems with the medication. Medicines used to treat acute gout and/or prevent further attacks are as follows: 1  Nonsteroidal anti-inflammatory drugs (NSAIDs). 2  Examples include indomethacin (Indocin), ibuprofen (Advil), and naproxen (Aleve). 3  Newer drugs such as celecoxib (Celebrex) can also be used.