When your dog is in a calm, submissive state, then you can give affection and attention, which will reinforce that state. If she tries to jump on you, turn the other way or push her back down.
He’ll learn that being excited gets a reward, so he’ll keep doing it.The best way to react to an excited dog is to ignore her. This is just telling him that you like what he is doing. The worst thing you can do is give affection or attention to an excited dog. The most important thing to remember when your dog approaches you with excitement is that what you do will determine whether such behavior becomes more or less frequent. Provide Exercise, Discipline, Affection.