Medicines used to treat acute gout and/or prevent further attacks are as follows: 1  Nonsteroidal anti-inflammatory drugs (NSAIDs) Examples include indomethacin (Indocin), ibuprofen (Advil), and naproxen (Aleve). Newer drugs such as celecoxib (Celebrex) can also be used.