You are most likely to get flatulence if your diet comprises Beans, Vegetables( like cauliflower, onion, radish ),Fruits,dairy products,whole grain foods,soft drinks,fruit drinks
Next Steps
Keep a record of what you eat and drink to identify foods that cause you trouble and try and avoid them.Keep track how often you pass gas.For eg if lactose intolerance is the cause then you have to cut down on dairy.Acoordingly change your diet and train yourself to swallow less air
Health Tips
Cut out on gum and candy,
eat more slowly, chew your food sufficiently,not drinking through straws
Get a gastroenterologist opinion if the above measures fail. Wish you good health.