Avoid speaking in excited, loud tones, and keep your movements slow and calm. Wait to pet and interact with your dog until she's less excited. It may also help to teach her to do something you'd like her to do instead of whining, such as sitting or hand targeting when she greets you or other people.