How do you tell your manager that you shat yourself?

Let’s say hypothetically I shat myself at work - how would you go about telling your manager so you can be excused from work?