It also helps to teach your puppy a “potty phrase” when you take him outside for a bathroom break. A potty phrase is a way to gently remind your puppy what he needs to do when he’s outside. It’s a big help during the potty training phase of puppyhood and you can continue to use for the rest of his life. Pick a phrase like “hurry up” or “go ahead” and say it softly right as your puppy eliminates. In time your dog will associate the phrase with the act of elimination, so you can say it when your puppy gets distracted and forgets what he needs to do outside. 

You should always accompany your puppy outside for potty breaks. You’re there not only to ensure that he actually goes, you’re also there to reward your puppy with a treat for going in the proper spot. Wait until your puppy finishes eliminating and immediately give him a tasty reward for a job well done. If you wait until you get back in the house, your puppy won’t make the connection between his elimination and the reward.
One of the easiest ways to prevent accidents is learning to recognize when your puppy needs to go out. Most puppies will sniff the ground when they’re getting ready to potty, but there are many other more signals that happen prior to sniffing. Puppies that pace, seem distracted and walk away from play are subtly signaling that they have to go out. If your puppy tries to sneak out of the room, take a potty break right away.
The process is the exactly same for older dogs as it is for puppies; prevent accidents from happening by using baby gates and a crate if possible, create a predictable schedule, learn to recognize your dog’s potty signals, accompany your dog outside and immediately reward for all outdoor elimination, properly clean any accidents and supervise your dog until you’re sure that he understands the rules.
×