Some medicines, such as water pills (diuretics), can also bring on gout. The most common sign of gout is a nighttime attack of swelling, tenderness, redness, and sharp pain in your big toe. You can also get gout attacks in your foot, ankle, or knees, or other joints. The attacks can last a few days or many weeks before the pain goes away.