Flatulence could occur due a few causes such as stress, aerophagia,
gastroesophageal reflux, malabsorption syndromes, lactose intolerance, GI infections/ parasitic infestations, increased dietary intake of oligosaccharides, dairy products beans, lentils, onions, garlic, scallions, leeks, turnips, rutabagas, radishes, sweet potatoes, potatoes, cashews, oats, wheat, cauliflower, broccoli, cabbage etc. You could start by making changes in your diet.