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.
Before you begin dog obedience training, choose the best method for you and your dog. Training styles vary, but most trainers agree that dogs respond best to positive reinforcement, such as praise or treats. One common training variation, known as clicker training, includes the use of conditioned reinforcer. There are plenty of dog training books and websites where you can learn about training techniques and determine which best suits you and your dog. When planning out your training methods, don't forget about socialization.
If you want to prevent accidents before they happen you’re going to need to watch your pup at all times, including every time they wander off. It only takes one accident to set your training back. Now I know that watching your puppy non-stop isn’t exactly fun & exciting, but being able to catch them before they have an accident is why this method works so well.
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.