When you're out and wearing a wrap (or girdle or hernia belt, it's called lots of things), one suggestion is this: every so often, go into the bathroom and lift your wrap up or even off, then use your fingers to “pet” the outside of the pouch and slide or smear the stool that's sitting on top of the stoma and trying to pancake, to push it down into the bag.
By doing that every 1-2 hours, I'm getting lots less of the pancaking and then lots less leaks from pancaking.
And the softer your stool, the easier it is to slide it off the stoma and down into the pouch. So eat fruits and veggies, and drink water.
Also, using baby oil or even just vegetable oil, or the sachets of lubricant made for stomas, can also really help the stool to slide down into the pouch more easily, and also slide out of the pouch more easily when you're ready to empty the pouch. I add more oil into the bottom mouth of the pouch about every other time that I empty it.