Interested in anal but scared I'll poop

My boyfriend really wants to try anal and honestly I'm curious about how it feels, but the problem is that I have IBS and I'm worried about pooping on him. So, for those of you who are experienced in this area, how do I avoid pooping or farting on his penis? Will it smell like ass in the room? Does it hurt?