Dogs bark, and that's normal. If this is in excessiveness, you can talk to your neighbor and explain your issues with the barking in a civilized manner. Maybe you can become friends with the dog too. When nothing is working, and your neighbor isn't doing anything to stop their dog from constantly barking, the last resort is to file a formal noise complaint.