Encourage calm in your dog by staying calm yourself.
For example, greet your dog warmly but keep your body relaxed and your tone soft.
If your dog gets too excited on a walk, calmly ask him to sit and reward the behavior, or take him out of the situation entirely.