prevention of gout attacks

I want to know the best diet for a person suffering from cronic gout attacks. I’ve been in bed unable to walk, for almost three months.I fasted for one and a half months. Still no relief.I was given steroids and placed on alluperniol. Please much pain. I don’t want to go through this again.