You may also notice common behavior problems in your dog such as jumping up, barking, or even aggression. The best way to correct any misbehavior is to interrupt it. Shift your dog's attention to something positive. Try running through cues that your dog has mastered followed by rewards. Keep your demeanor cool and confident, and be clear about what you mean.
With your dog sitting at your side, set off and give the command “heel” (so that your dog is aware you are about to move). If the dog gets ahead, stop and encourage it back to your side with a titbit. Repeat. To begin with, stop every three to four paces to praise your dog and give a titbit. Do not use your voice unless your dog is at your side. You can also practise this off-lead in a secure area – this makes you work really hard at keeping your dog with you, rather than relying on the lead.
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.
Many owners appear disappointed that their young puppy will not toilet when out on a walk, yet relieves itself the second it gets back home. This is because the puppy has been taught to toilet only at home (hopefully in its garden), and being creatures of habit, they often wait until they have returned home before evacuating their bladder and/ or bowels.