I am still in the learning process of what exactly triggers my symptoms, but three things FOR SURE give me gas and bloating: sugar, dairy (although I did not test lactose intolerant), and soy milk.
The two most helpful things for me are fennel capsules and baking soda.