Most dogs bark for a reason. A knock at the door, a stranger on the sidewalk, or a noise at night can all set it off. The bark is the dog's way of saying "something is here." Yelling back usually makes it worse, because to the dog it sounds like you are barking too.
A calmer plan starts with noticing the trigger. Write down when the barking happens and what came right before it. After a few days, a pattern usually shows up. Then you can work on that one trigger with short, kind training sessions.
PawsPurrFection shares simple, step-by-step guides on barking for new and busy owners.
Further reading: