Bad experience with anal, help.

So today my boyfriend was fingering my ass, and until it was too late I had shit everywhere... needless to say I started crying from embarrassment. He kept telling me it was okay but I just kept crying. Is there any way I can help this to not happen again???