Be persistent! Make sure the puppy doesn't get the opportunity to pee and poop by using a leash indoors or confining him to a crate when you're out. Depending on the puppies age, pop him outside every 20 - 30 minutes, so there's a greater chance of him toileting outside (by accident at first.) In addition, get rid of any scent markers he's left by peeing or pooping indoors, as these will draw him back to the same spot. This means cleaning the area daily, for 2- 3 weeks after he last pooped there to fully get rid of any lingering odor that the dog can detect. How do I socialize my dog with kids?
Unless you plan to keep your dog outdoors--and few of us do because it's not recommended--you'll need to teach your dog where to eliminate. Therefore, house training (also called housebreaking or potty training) is one of the first things you need to work on with your dog. Crate training can be a very helpful part of the training process. This includes house training as well as many other areas of training: more on thisSuppose you consistently praise your puppy for their actions, while potty training. Then say your dog has an accident. Do not praise you dog immediately. Instead, take your dog outside and wait for it to go to the bathroom. When it finishes doing its business, take it inside, and keep it in a separate room while you clean up the mess. After this you should act disappointed in your dog, but only for a few minutes. Keep you and your dog motivated to potty train.
Here’s a good one to round out a demonstration of your dogs’ best tricks: send her to bed for a good rest after all that hard work! “Go to bed” is useful as a cue when your dog needs to be removed from the action and settle down. Of course, you can always take it to the next level by training her to pull the covers over herself…but that one might take a little more time.

If you run into trouble, go back a few steps If you’re training your dog to do something new and you stop making progress, you may have increased the difficulty of the skill too quickly. Similarly, if you’re practicing a behavior your dog hasn’t performed in a while and she seems a little rusty, she may need some help remembering what you want her to do. If you run into training challenges like these, just refresh your dog’s memory by making the skill a little easier for a few repetitions. Go back to a step that you know your dog can successfully perform, and practice that for a while before trying to increase difficulty again.

Be persistent! Make sure the puppy doesn't get the opportunity to pee and poop by using a leash indoors or confining him to a crate when you're out. Depending on the puppies age, pop him outside every 20 - 30 minutes, so there's a greater chance of him toileting outside (by accident at first.) In addition, get rid of any scent markers he's left by peeing or pooping indoors, as these will draw him back to the same spot. This means cleaning the area daily, for 2- 3 weeks after he last pooped there to fully get rid of any lingering odor that the dog can detect. How do I teach my dog basic obedience?