Certain breeds, especially the terrier "hunter" types, are going to bark alot and I really don't like to always curb what they are happy doing, but I know the barking can really get on people's nerves too.
With my Airedale I made sure that he had lots of toys and play time, running outside, etc. but I still ended up with one neighbour who complained alot. She wanted me to put a shock collar on him and I refused, so moving to a hobby farm where he could be a happy go lucky boy was my final solution.
Good Luck with this.
Please have pets spayed and neutered,
and wearing a collar with an ID tag.