I had anal last night

Hello All

I had anal sex last night (my third time) and all of instances in which we tried turned out like the following:

1. Ouch but them oh

2. Just the tip because I felt like even that just made me feel like I had to shit everywhere.

3. Longest time we’ve done it but I couldn’t enjoy it because I felt like I was going to poop everywhere.

How do you guys get rid of the poopy feeling and make sure you are empty prior to partaking?

Thanks!