He needs to watch what he eats that day.
My rule of thumb is to keep it liquid.
No heavy meals, nuts, corn or any other food that doesn't digest.
And a bm several hours before is imperative. Plus a shower doesn't hurt.
It's gonna happen but keep trying.