Anal sex does come with a few risks, but you can avoid these with a bit of preparation. Use a barrier method for protection. According to the Centers for Disease Control and Prevention Does anal sex affect pooping? Gentle, careful anal sex should not affect pooping or damage the muscles of the anus.