Most dogs bark. This is a fact and most people are willing to tolerate occasional barking.
When barking becomes excessive then neighbours become less tolerant. Owners are responsible for controlling their dog's barking so that it does not disturb others.
Please talk to your neighbours if their dog's barking is bothersome, most people want to be good neighbours. If it continues, please contact By-law Enforcement.