One of the best ways to prevent your dog from running out of the house is to teach him to wait at the door. Teach your dog to sit and lie down when the door is opened. Reward him with treats if he stays still. Then, once he has mastered the command, he will not try to run out of the house.
One way to do this is to use a padded mat at the door to act as a tether. This works especially well for dogs that get wiggly when people come to visit. Once your dog understands the concept, you can gradually increase the time you stay in your house. Another good way to train your dog to stay away from the door is to talk to him. When you’re talking to him, say words that will make him feel safe.
Using a baby gate or exercise pen is another option. This way, your dog won’t be able to access the door without your help. Make sure to watch your dog every time you open the door. It’s also important to ensure that you don’t leave him alone at home when you’re not home.
Introducing a “wait” command in the presence of your dog is another effective way to prevent your dog from running through the door. You should repeat this command as often as you can before opening the door. Remember, your goal is to provide high-rate reinforcement to your dog.