Here is a quick instruction for you in case you poop your pants:
Step 1: Run to the bathroom, lock the door, drop down your pants and try to remove as much poop as possible, flush it down the toilet
Step 2: Remove your underpants and your pants, you will most likely get poop on your socks as well in this process so best to remove them as well, grab it all and put it in a trash bag
Step 3: Now you have to make a tough decision, do you want to wash those pooped out clothes or should you rather just throw the bag out at some discreet location? I suggest the latter, making it easier for you to get rid of any unfond memories of the event or anything that could be traced back and used against you, drive out at least 10km away from your home and dispose the bag in a lake or bury it in the woods
Step 4: Clean up any remaining poop stains on your bathroom floor and walls
Step 5: Take a long hot shower
You are very welcome