Some helpful tips to reduce these problems are exercising your dog before the guests arrive  more relaxed or ready to take a nap. Avoid excited greetings when you come home and try to come in quietly. If the arrival of guests makes your dog excitable, give him a break in his crate/kennel or in a quiet room with a familiar doggie bed or blanket. Allow your pooch to join the guests after the initial commotion has subsided. Teach your dog to sit, even when excited. Youll start this training in unexciting situations and gradually build to more and more exciting situations until the dog is totally steady. Pat him, praise or give treat when the dog takes the sit position. Make sure that guests also pat the dog as a reward for getting it right. You may also try keeping your pet under your control (leash or harness) for few minutes until all your guests settled and gradually try without leash.
Question by - Sudhanshu Dey, Kolkata