Questions about “mess” with anal sex

So, my SO wants to do anal. I’ve never done it before, nothing even close to it. And so I feel like the obvious question is....

How do I make sure it’s not going to be “messy”? As in like, poop stuff. I know that may sound stupid lmao but I’ve never done it before and I’m not really sure what to do.

Thanks!