You shouldn't train your neighbor's dog to shut up.
Matt moves into a new house and his neighbor has a very loud dog.
Matt wants his neighbor's dog to be quiet, so he can sleep.
Matt rings his neighbor's doorbell and asks for the dog to be quiet, so he can sleep.
Matt goes outside and yells at his neighbor's dog to be quiet.
Matt's neighbor gives the dog food so the dog stops barking, and Matt gets to sleep peacefully.
Matt's neighbor gets mad at him for yelling at the dog and it is very awkward when they see each other.