Some dogs will be overly excited when you come back to home, he often jump on your body. If he is very young, that's nothing, but
When he grows up, it may injure you as a result of too much momentum, especially to strangers who are afraid of dog.
(1) Catch him and push him down on floor
(2) Turn his body up, say "no" to him, then let go.
(3) If he continue to jump on, repeat the above actions until he would be obedient.
As a rule you need to train them for 2 or 3 times, then he will not jump on you anymore.
Another method is also effective.
With a squirt gun (most dogs dislike it), when your dog is just going to jump on you, say "No" and then spout water to him. As well, you should snub him for a while, let him feel vapid. Repeat until he don't jump on.