I have had some success with concentrated cherry juice. It looks and tastes like cough syrup. I mix a quarter cup with diet Sprite and drink it 3 or 4 times a day during an attack.
Ibuprofen will also reduce the inflammation that causes pain during an attack, but aspirin will precipitate more uric acid, so do not take aspirin.
Colchicine is the best prescription medicine for gout attacks. It will take about 4 or 5 doses (1 per hour) to dissolve the crystals, and then overnight for the swelling to go down. It is very effective and you will only need to take it during an attack.
There are foods that will precipitate an attack. My food is Shrimp. I can no longer eat shrimp.
It may take a while to discover which food will precipitate an attack, but it is different for different people.