Manners for the front door are very important for most dogs, so here are a few tips for when the doorbell rings.
Tip #1: Stay Calm. What normally happens when someone's at the door, pet parents say, “Who's at the door? Let's go run to the door”, and the dog gets really excited and then the pet parents say, “Calm down!”, which sets up your dog to fail. So instead, when the front door rings, just calmly walk to the door.
Tip #2: Toss Treats on the Floor. When you get to the door, take a couple yummy treats that take some time to chew, and as you open up the door, just toss the treats behind you. With repetition, what your dog will learn is instead of running out the door or jumping on guests, they should look on the floor for some yummy treats.
Tip #3: If your dog jumps, make sure all guests just calmly turn their back and ignore their dog. I call it four on the floor, which means dogs don't get attention unless all four paws are on the floor.
Tip #4: Practice Makes Perfect. If you just wait for a guest to come over to try this, it's never going to work. So at least once or twice a day, have a family member go outside and practice this routine. Then when your guests, your neighbor, or your family comes over, your dog is well behaved.