Question: how to train dog not to bark at neighbors?
Answer: Use the quiet command to make him stop barking. Repeat until he no longer tries to bark when your neighbors are in their backyards. Just remember to be patient and never scold your pup when he gets it wrong, just use the quiet command and reward him when he behaves.