Accidents are part of potty training ... If your child realizes it is time to use the toilet midway through pooping their pants, you may want to try scheduling potty breaks.