What happens next?

How to deal with a barking dog
Get rid of stimuli.
Take a look at what makes your dog bark and find a way to remove that motivation. If your dog likes to bark at passing pets they see through the window, close your curtains or blinds.
If they bark at the doorbell, encourage individuals to call or text you and let you know they're at your home. If there is a stimulus you can't get rid of completely, such as your dog barking at their reflection in the window or mirror, try to limit their access.