Tips for anal?

I’ve had anal before..but it HURTS! Can I make it hurt less??

The last time I had anal, a little poop came out on his dick and I haven’t had anal since (2 years) because I’m so embarrassed and scared it’ll happen again..

But I’m with a new man, who’s never had anal that wants to try...how can I MAKE SURE poop doesn’t come out on his dick?