Relying on a strict diet to prevent gout attacks is effectual in many of the affected people. In addition to the diet, they should minimize the use of niacin, aspirin, and diuretic medicines. If required, the doctor will recommend gout medications to reduce uric acid levels, inflammation, and pain.