Insecure about anal

Can anyone give me advice on anal, I did it once with my current boyfriend, And he came in me and....basically made poop come out. I was SO embarrassed, Even though I'm completely comfortable around him it was so awkward. How do I stop this happening???