Also, try to stay away from greasy foods. That's what brought my attacks on. I had my GB removed some 32 yrs ago, and I used to work at Burger King at the time (my first job while in high school). Before I'd go home I would have the fry cook drop in a couple of the Whalers (currently called The Big Fish today) and fry them up. I would have them with cheese, onion, and mustard; never the tartar sauce (my body could not tolerate whatever was in it). Yum, yum! Shortly after eating them, they'd have me doubled over in the fetal position just about, in pain, and no one in sight to see what was wrong with me. First visit to the ER they thought I was having an anxiety attack. An ANXIETY ATTACK! the morons! The 2nd time this happened they found out my GB was chock full of stones and they had nowhere to go but hurt. So one big incision later and I was minus my gallbladder and all its problems. Then a few years after I had my GB removed they discovered a new procedure where they just poked 3 or 4 holes in your belly and they would suck out the offending GB, and you'd be up and running the next day. My mother had that one, whereas I with the traditional way of doing things ended up in ICU the first night, and the next 2 weeks in the hospital. So long story short, stay away from greasy +/or fried foods.
Part of the secret of success in life is to eat what you like and let the food fight it out inside.