The name for that is fecal incontinence. I'm sure this is very distressing. Here's an article you can read about it. https://www.mayoclinic.org/diseases-conditions/fecal-incontinence/symptoms-causes/syc-20351397 There are many things that can cause this. Have you been to your doctor about it yet?