Its completely my opinion but if you're very sure that its not pouchitis or any other major issue one that you can handle yourself only then try taking fiber supplements like pysillium husk, add easy to digest foods to your diet like bananas, oatmeals,brown breads, sweetpotatoes,brown rice,peanut butter, or anything that you'd think eases your motion. I am only 3 months out with takedown so I am no expert but when my poop's not under control I switch to my happy diet and in a day or 2 things sort out to normal. Also I workout 6 days a week thats improved my digestion and gas. Pressure of gas is another thing that makes it harder tp hold back. If these solutions dont work you can always go to the gastro and get prescription.
Good Luck 🤞