The first thing you want to do is make sure you consume foods that have lots of good bacteria in them, called probiotics. The next thing you want to do is to make sure you eat lots of foods that have a high fiber content, since the fiber in your food will normalize the activity of your GI tract. The third thing you want to do is avoid foods that naturally produce gas in your intestines. This includes beans, vegetables like broccoli or cauliflower, cruciferous vegetables, and cabbage. You also do not want to drink carbonated beverages.