I often recommend people visit a naturopath and get evaluated for an appropriate probiotic. The right probiotic has been the single biggest game changer in my 20 yrs with an ostomy. Has helped with gas, and more importantly overall digestive function. Not just any probiotic, they can evaluate your reactivity to certain types and get the best fit for you, rather than just eating yogurt thinking it'll help. Just my 2 cents
I don't know how recent your surgery was, but I found during both my operations, 20 yrs apart, for the first 3 months or so, I had a lot of ballooning as well, but my system has ' notmalized' and settled down since. Large in part due to diet as mentioned by simesom earlier, and the probiotics getting that good digestive bacteria back in your gut to help break down foods that would otherwise wreak havoc and land me in the ER with a blockage. Worth checking out