An anxious or playful pup may leap high quickly and suddenly “poke” at your face with their nose. That can be triggered by leaning over the top of them especially when they’re in a high-arousal situation like a homecoming or around other dogs. It may be a way for stressed pups to relieve their anxiety, so be aware of situations that cause these behaviors. Dogs control each others' movement with their body language. Think how a Border Collie makes sheep move just by getting close. You can stop your pup’s jumps by stepping close to him just before he leaps. Cross your arms and step into the pup’s personal space before he crouches to leap.
Puppies should be told from day one, "no jumping." Anything you do not wish your cute little puppy to do when it is full-grown should not be allowed when it is a puppy. Think about the behaviors you allow your puppy to do; is it something you will always allow him to do even when he is full-grown? If the answer is no, do not allow your puppy to do it from day one.
When your dog has all four paws on the floor, give him attention and praise. If he jumps up at any point, freeze with your arms folded on your chest until he calms down. Instruct guests and all members of your household to consistently ignore jumping. If you have visitors who ignore the no-jumping rules, keep your dog on leash during the visit and gently remove him if he jumps. For anything your dog gets in life, whether it's your attention or a meal, only give the reward when all four paws are on the floor. Jumping up should end all attention and rewards, while remaining fixed on the ground garners all the pleasurable reinforcement a dog desires — treats, petting, play.
If a dog is stressed or afraid, their demeanor and typical behaviors will change. If you see this in your dog (or really any dog you know) you should step back and check on your dog. Are they hurt? Did a new dog come around they don’t know? Has the weather changed? Is it hot outside? When was the last time they had a chance to go outside to pee or poop?
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.
You shouldn’t stop this type of jumping. You need to diagnose your dog's issue and remedy that. If your dog is just stressed being in a new situation, you should calmly get them off of you, offer them a treat to calm them down, and have them sit politely beside you until their stress level has subsided (or take them somewhere else so that they can calm down if it is taking a while for them to calm down.) But most of all, please do not just ignore this behavior change.
Dogs like and need consistency, so if you are not allowing your dog to jump on you, everyone in the family and everyone who greets the dog must do the same. You, as an owner, must make sure this happens. It will only confuse a dog if you allow them to jump on some people who say they do not mind, and tell him not to jump on others. Once you decide you do not wish your dog to jump on people you must apply this to everyone at all times unless you give the dog a command to jump. A dog should never jump on a human of its own free will.
With a tie-down, you simply attach your dragline to a fixed object like a fence, stair rail or another immovable object like an eye-bolt in the wall. This exercise uses the same principles as teaching the “wait” command, only instead of closing a door or gate, the pup is confined by the leash. That keeps you safe from mouthing and claws and prevents the pup from jumping up and grabbing. Practice puppy sits and downs while you stay out of range. Only reward the puppy with contact from you when he stays calm with all four feet on the floor.
When a dog jumps on a human of its own free will, it is not "greeting" the human, it is asserting its dominance over the human; it is the dog communicating that it is alpha and/or wishes to own/control the human. A subordinate would never dream of running over and jumping on the alpha dog of the pack. Space is respect and lower members of the pack respect the higher members. If your dog jumps on humans, it does not respect them. Note: when a young puppy jumps on humans it is sometimes its attempt to reach one's face. Puppies need to be taught not to jump up on humans as this behavior will manifest into other meanings as the puppy grows up into an adult dog.