Prevent unwanted behaviors from happening in the first place. If your dog jumps on guests, put him on leash and ask guests to greet him only when he’s got 4 paws on the floor.
Interruptyour dog’s undesirable behavior with a kissy sound or his name, ask him for a behavior you like and reward him! If your dog is barking at the neighbor’s fence, get his attention, move him away or call him away and reward him for going with you.
Ignorebehaviors like jumping up, demand barking, whining and begging (this is actually called negative punishment…yes, punishment because you’re removing your attention). Then, reward him with praise and attention when he’s got four paws on the floor, he’s sitting politely, or he’s quiet.
Rewardyour dog when his attention is on you. Reward him for looking at you when exciting, scary or unfamiliar things are happening around him.
Dogs will repeat behaviors if you reward them. This includes good AND bad behaviors. Be careful not to accidentally reward the unwanted behaviors with your attention (looking, talking, touching) or whatever else is motivating him.