Different dog breeds can be used as guard dogs . A dog will sometimes bark at people it does not know and may alert its owner that way . A guard dog , an attack dog or watch dog is a dog used to guard against , and watch for , unwanted or unexpected people or animals .