4. Use the "Sit" command. This is one of the most basic, and important, commands. As such, if your dog is well trained, he will respond to the Sit command before even thinking to jump. If he does not respond well to the Sit command, then more training is necessary, as this is the foundation for dog obedience training. Train him until he responds to it in everyday situations, such as greeting and going for walks. The better he understands the Sit command, the much less likely he is to ever jump at all.
Nobody likes to have a handful of groceries knocked out of their hand or get muddy paw prints on their new pants as they walk through their own front door, let alone someone else's front door. Jumping up can be a cute greeting when you have a small puppy or dog at home, but as time goes on, it can become quite annoying to you and your guests. Teaching your dog to calmly greet you and your guests, without jumping, will create a much more enjoyable environment to enter into after a long day at work or when receiving guests at home.
By playing some simple games like fetch with your dog, you can kill 2 birds with one stone. First is that the actual playing of the game will surely tire them out so much that they won’t have the energy to jump the fence. Second is that you are associating the fun of the game with the yard. If they have fond memories of the yard they will be less likely to try and get out.
Paying attention to a dog only when all four paws are on the floor can work well, if jumping isn’t well entrenched and if everybody who deals with the dog follows the rules. Unfortunately, much of humanity will get busy undermining you. “I don’t mind your puppy jumping up,” they say, while you tear your hair out. Or they get all disciplinarian, maybe kneeing the dog in the chest. That is not only mean but counterproductive, because dogs often respond by trying to appease. Since humans are usually taller than dogs, reaching our muzzles to lick them involves jumping up.