I have had IBS for years and found some success with a lactose free diet and no stone fruits. I also wear pull ups when I go out and if going on along trip make sue I empty my bowel first even if it means taking an enema. I also carry an emergency bag with spare pants and pull ups and baby wipes and spare toilet paper just in case the stall has run out plus plastic bags to put pull ups in if necessary.