You can teach your dog to sit or down and stay while you go to the other side of the bathroom door. (You can also contact a Certified Professional Dog Trainer ...