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.
Whether you have a new pup, who is just starting out on his potty training journey, or you have an older dog that you’ve just adopted or rescued, I’m going to teach you about a process called shaping that will teach your dog to think for itself and solve problems on his own. If this is done consistently, I promise the rest of these dog training instructions will be a walk in the park!

The term "observational learning" encompasses several closely related concepts: allelomimetic behavior or mimicking where, for example, puppies follow or copy others of their kind; social facilitation where the presence of another dog causes an increase in the intensity of a behavior; and local enhancement which includes pieces of social facilitation, mimicking, and trial-and-error learning, but is different from true observational learning in that the dog actively participates in the behavior in the presence of the other dog and/or other environmental cues.[55] Four necessary conditions for observational learning are: attention, retention, motivation, and production. That is, the dog must pay attention to the dog or person performing the modelled behavior; retain the information gathered about the behavior during the observation; be motivated to reproduce the behavior in a time and place removed from the original; and finally, produce the behavior, or some reasonable facsimile thereof.[55]

If your dog exhibits a behavior you don’t like, there is a strong likelihood that it’s something that has been reinforced before. A great example is when your dog brings you a toy and barks to entice you to throw it. You throw the toy. Your dog has just learned that barking gets you to do what he wants. You say “no,” and he barks even more. Heaven forbid you give in and throw the toy now! Why? Because you will have taught him persistence pays off. Before you know it you’ll have a dog that barks and barks every time he wants something. The solution? Ignore his barking or ask him to do something for you (like “sit”) before you throw his toy.
In 1935, the American Kennel Club began obedience trials, and in the following years popular magazines raised public awareness of the benefits of having a trained pet dog, and of the recreational possibilities of dog training as a hobby.[19] After WWII, the increasing complexities of suburban living demanded that for a pet dog's own protection and its owner's convenience, the dog should be obedient. William Koehler had served as principal trainer at the War Dog Training Center, in California, and after the war became chief trainer for the Orange Empire Dog Club—at the time, the largest dog club in the United States—instructor for a number of breed clubs, and a dog trainer for the Walt Disney Studios.[20] In 1962 Koehler published The Koehler Method of Dog Training, in which he is highly critical of what he calls "tid-bit training techniques" based in "the prattle of 'dog psychologists'".[19] Amongst the training innovations attributed to Koehler is the use of a long line in conjunction with a complete absence of oral communication as a way of instilling attentiveness prior to any leash training. Koehler insisted that participants in his training classes used "emphatic corrections", including leash jerks and throw chains, explaining that tentative, nagging corrections were cruel in that they caused emotional disturbance to the dog.[21] Vicki Hearne, a disciple of Koehler's, commented on the widespread criticism of his corrections, with the explanation that it was the emotionally loaded language used in the book that led to a number of court cases, and to the book being banned in Arizona for a time.[22] Despite the controversy, his basic method forms the core of many contemporary training systems.[23]
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: