Anal disaster

Hey guys, sorry its a bit disgusting but, does anybody ever experience 'shit happens' during/after anal? How does your Guy respond? And how to avoid this?