The key to keeping a dog from having accidents in the house is to get them outside regularly and then praise them excitedly when the do potty outside. Sometimes it helps if other dogs are out with them and going potty, too.