Homecomings and departures are a prime time for jumping up because puppies want to greet you or stop you from leaving. Turning your back on some of these dogs revs them up even more, so instead, try ignoring the bad behavior. “Ignore” means you make no eye contact, say nothing and stand still like a zombie offering no reaction to silly puppy behavior.
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? 
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.