Dogs usually bark because they are trying to tell you something. However, it gets really irritating if they won't stop barking.
I used to have the same problem before and it really made my neighbors angry. It came to a point where I can't handle the barking anymore that I wanted to send "Boogie" (my dog) to an animal shelter because I can't live with him anymore.
A friend helped me curbed Boogie's behavior. However, it really took lots of patience and a great amount of effort before we were able to correct his chronic barking.
I usually leave the house at around 8AM and Boogie is left there by himself. My friend said that dogs who get bored usually bark all the time. That's why I asked my brother (who lives near my house) to visit Boogie during the day and walk him to make sure he gets enough exercise.
I also take Boogie to the park on weekends to make sure he gets enough exercise.
My friend advised me that I should correct Boogie's attitude right away. What I did was to grab his muzzle and say "QUIET!" everytime he barks.
I made it clear to Boogie that he should follow me and that I am 'the master'. When he stops barking, I scratch his tummy. Sometimes, I give him treats if he stops barking.
It took more than a month before he was able to master the QUIET command but I'm so happy that I was able to do something about his chronic barking.
I'm sure that you'll also be able to stop your dog from barking.
