A dog that won’t stop barking is annoying to anyone. The dog is obviously not happy, you aren’t happy, your neighbors surely aren’t happy.
A barking dog is not the sign of a well trained dog, but it is a sign of an embarrassed owner.
Before you treat the barking itself, be sure to find out why your dog is barking. Many things could be the problem.
Is your dog in a fenced area or on a lead near something loud or disruptive?
Loud children, construction, heavy traffic or a train could be upsetting your dog to the point where he deems it necessary to bark. Is he being antagonized by a neighbor or their children?
If any of these outside sources seem to be the problem, try removing your dog from the area and keeping him in a different part of the yard or keep him inside during times where outside variables are causing a problem.
Dogs are like children. They may bark if they are hungry, thirsty or uncomfortable. Is it high noon in July and your dog has no shade? Has his water bowl gone dry?
Make sure to provide enough food, water and shelter for your animal to be comfortable and it may solve the barking problem.