To a dog, space and balance are very important. If you take a step backwards or lean out of a jumping dog’s way, it will continue to jump. To a dog, it is overtaking your space, which only pack leaders are allowed to do. When a dog jumps, step into the dog. Picture a sphere around you and are not going to allow anyone or anything to come into your space. When the dog jumps, step into it sideways with your body, shoulder towards the dog. Don't face the dog head-on (you may not have time to turn so don’t worry about it if this is the case). You are not trying to knock the dog down, although this may happen. Don’t be alarmed if you do knock the dog over. Although you don’t want to abuse the dog by knocking it around, this may actually go a long way toward breaking it of the jumping habit as it will create a negative experience. Dogs are incredibly physical creatures and can withstand a lot of physicality without any harm. The odds of inflicting any serious injury are miniscule. You are simply calmly filling up your space with your body, and in return, setting the dog off-balance, which is an uncomfortable feeling for a dog. Lean slightly forward, not backward. Never lean backward, as you will be giving the dog that space. Casually and calmly, keep filling your space, not allowing room for the dog to come in. Remember, your goal is not to knock the dog down, it's just to retain your space.
Also, it's your job to never let anyone else allow your puppy to jump up on them! They will say, "It's OK, she's just a puppy, I don't mind if she jumps on me". You must rush in and pull the puppy down immediately, put your pup in a sit, praise the puppy then scold the person ! Continue to hold the puppy in a sit and let the person greet the pup. Explain to them they can never allow the puppy to jump on them - the puppy must sit to be greeted. To stop the jumping up behavior in pups, I do as much people training as puppy training!
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.
When your puppy reaches adolescence, he may be unable to control his impulses and start to test limits (just like a human child). Adolescent jumping up can turn into “nose boinking” which can lead to broken glasses or even a bloody nose. Jumping up often combines with mouthing behavior where the pup bites and grabs your hands, clothing or even your derriere in a grabbing game of tag.
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.