Undigested food and liquid that has not been absorbed cause gastric problems. The enzymes break down nutrients in the colon and produce gas in your stomach. It is a common problem which is uncomfortable and embarrassing. However, there are ways to prevent gastric problem. Check your symptoms and eating habits and determine what produces gas. You should chew food slowly and eat in smaller quantities. You should not talk and chew food at the same time. You should avoid chewing gum and tobacco. You should also avoid carbonated drinks. Your diet should contain enough fiber. You may take laxatives whenever required to reduce constipation. You should try to reduce your intake of carbohydrates, sugars and fats as these may cause indigestion and produce gas. You should add more fiber-rich foods like beans, broccoli, cauliflower and Brussels. You should avoid highly spiced foods as they may trigger gastric problem.