Gout causes attacks of pain and swelling in one or more joints. An anti-inflammatory painkiller usually eases an attack quickly. Lifestyle factors may reduce the risk of having gout attacks. These include losing weight (if overweight), eating a healthy diet, and not drinking much alcohol or sugar-sweetened soft drinks. If gout attacks recur, then taking vitamin C supplements and/or allopurinol each day can prevent them.