If pup is peeing in the wrong place... you may be able to stop him. Move quickly towards him when he begins to pee and pick him up. Urgency is key here - you want to startle the pup just a little as you move towards them to pick them up, but you DO NOT want to scare the pup. You are redirecting your puppy to the right spot - not disciplining him. Immediately after picking him up, take him to the potty area and patiently wait. Most pups will finish there. Reward your pup with exuberance!

Konrad Most began training dogs for police work in Germany, and was appointed principal of the State Breeding and Training Establishment for police dogs in Berlin, where he carried out original research into training dogs for a broad range of service tasks. At the outbreak of war in 1914 he was charged with organising and directing the use of dogs to further the war effort. He headed the Experimental Institute for Armed Forces' Dogs during the Second World War, and afterwards ran the German Dog Farm, a centre for the training of working dogs, including assistance dogs for the blind. He played a leading role in the formation of the German Canine Research Society and Society for Animal Psychology.[10] His 1910 publication, Training Dogs: A Manual, emphasised using instinctive behavior such as the prey drive to train desired behaviors, advocated the use of compulsion and inducements, differentiated between primary and secondary reinforcers, and described shaping behaviors, chaining components of an activity, and the importance of timing rewards and punishments. The book demonstrated an understanding of the principles of operant conditioning almost thirty years before they were formally outlined by B.F. Skinner in The Behavior of Organisms.[11] While publishers of the 2001 reprint warn that some of the "compulsive inducements" such as the switch, the spiked collar and the forced compliance are unnecessarily harsh for today's pet dogs,[12] the basic principles of Most's methods are still used in police and military settings.[13]

Strictly following the model set out in the Koehler Method of Dog Training, some 50 years later, the Koehler method continues to be taught in both class and private training formats. The method is based in the philosophy that a dog acts on its right to choose its actions. Koehler explained that a dog's learned behavior is an act of choice based on its own learning experience. When those choices are influenced by the expectation of reward, the behavior will most likely be repeated, and when those choices are influenced by the anticipation of punishment, they will most likely cease. Once the dog has learned that its choices result in comfort or discomfort it can be taught to make the correct decisions. Action→Memory→Desire encapsulates the learning pattern used by the method; the dog acts, remembers the consequences, and forms the desire to repeat or avoid those consequences. Adherents believe that once the behavior has been correctly taught, it should be performed, thus making any correction, fair, reasonable, and expected.[60] While the model has been used consistently since 1962, some of the punishment procedures described in the book are now not considered necessary, humane, or appropriate by many trainers.[25]
Just so you know, a puppy is never completely housetrained until they are 6 months old. For some breeds, even later. This means that though you may be making tremendous progress housetraining, there will be "mistakes". Sometimes for reasons you can't figure out! Don't fret about it. Stay focused on the progress you are making. Your confidence in the techniques you are using to house train your puppy will ensure your success.
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.

Once he seemingly has this idea down, move the string of bells to the left or the right of your dog and see if he moves to go and hit them with his nose; if he does click and treat! Next try moving the bells above his head and then closer to the floor. If he is chasing them with his nose in an attempt to ring them, then he understands what you want!

Puppies would much rather play with leaves and bugs than go potty, if you aren’t there to see that you won’t know your pup needs to go back into his crate and come out again 5-10 minutes later! He will learn to sneak away, and have accidents inside. If you leave him outside for an extended period of time, chances are when you bring him back in he will need to go outside again soon or have an accident.
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.
Operant conditioning (or instrumental conditioning) is a form of learning in which an individual's behavior is modified by its consequences. Two complementary motivations drive instrumental learning: the maximization of positive outcomes and minimization of aversive ones.[39] There are two ways in which behavior is reinforced or strengthened: positive reinforcement occurs when a behavior is strengthened by producing some desirable consequence; negative reinforcement occurs when a behavior is strengthened by avoiding some undesirable consequence. There are two ways in which behavior is decreased or weakened: negative punishment occurs when a behavior is weakened by not producing a reinforcing consequence; and positive punishment occurs when a behavior is weakened by producing a consequence that is a disincentive. In combination, these basic reinforcing and punishing contingencies provide four ways for modifying behavior.[40] Reinforcement increases the relative probability or frequency of the behavior it follows, while punishment decreases the relative probability or frequency of the behaviour it follows.

On a side note, a puppy’s mother can actually do a lot of the potty training for your dog. I know of several reputable breeders who tell me that the mother dog trains their pups not to eliminate in their nests. From the moment a puppy is born its mother is teaching it that the NEST is the place where it eats & sleeps. One of the first rules Mama Dog starts to teach her pups is NO peeing or pooping in the family nest – That’s Disgusting! And she makes them follow her outside.
In one study laboratory-bred Beagles were divided into three groups. Group A received an electric shock when the dogs touched the prey (a rabbit dummy fixed to a motion device). Group H received a shock when they did not obey a previously trained recall command during hunting. Dogs in group R received the electric shock arbitrarily, i.e. the shock was administered unpredictably and out of context. Group A did not show a significant rise in salivary cortisol levels, while group R and group H did show a significant rise. This led to the conclusion that animals which were able to clearly associate the electric stimulus with their action, i.e. touching the prey, and consequently were able to predict and control the stressor, did not show considerable or persistent stress indicators, while animals that were not able to control the situation to avoid the shock did show significant stress.[66]
Clicker training is a nickname given to a positive reinforcement training system based on operant conditioning. Clicker training can also be referred to as marker training. The system uses conditioned reinforcers which are able to be delivered more quickly and more precisely than primary reinforcers such as food. The term 'clicker' comes from a small metal cricket adapted from a child's toy that the trainer uses to precisely mark the desired behavior; however, some trainers use a whistle, a word, or even a light as the conditioned reinforcer.[63] The trainer delivers a primary reinforcer, such as a toy or treat, after the noise or signal. A common critique of clicker training is that it is prone to the overjustification effect.[64]
Derived from the theories of symbolic interactionism, relationship based training exploits the patterns of communication, interpretation and adjustment between dogs and their trainers. Building on a positive relationship between them, the method sets out to achieve results that benefit both the dog and the trainer, while at the same time enhancing and strengthening their relationship. The basic principles include ensuring that the dog's basic needs have been met before beginning a training session, finding out what motivates the dog and using it to elicit behaviours, interpreting the dog's body language to improve communication between dog and trainer, using positive reinforcement to encourage desired behavior, training incompatible behaviors to replace unwanted behaviours, and controlling the dog's environment to limit the possibility of unwanted behaviours.[78] A relationship-based approach to dog training is not reliant on using particular training aids or treats, the relationship is always there, and the connection between dog and trainer is sufficiently powerful to achieve the training goals.[79]
While indoor elimination solutions like potty pads and litter boxes have their place, using them can actually slow the process down if you plan to eventually have your dog eliminate exclusively outside. Teaching your puppy to potty inside sometimes and outside others can be confusing because you will eventually have to teach your dog that at some point the indoor option is no longer allowed. Potty pads work best for people who can’t get their puppy outside quickly, like those who live in high-rise apartments or have limited mobility.
Crate training is a great way to start your puppy off on the right paw. Dogs have a natural instinct to keep their den clean, so a properly sized crate, introduced gradually, will create a home base for your puppy and will keep him from having accidents when you can’t watch him. Use the crate when you’re unable to give your puppy your full attention during the day, as well as at nap time and bedtime. Selecting the right size crate is critical, and it should be big enough so that your puppy can comfortably stand up, turn around and lie down but not much bigger. If you opt for a crate that’s too large, your puppy will be able to potty in one corner and sleep comfortably in the other, defeating the purpose of crate training.
One of the biggest mistakes new puppy owners make is expecting their puppy to hold it for longer than he is physically capable. The general guideline for puppy “hold times” is that each month of age equates to an hour of “hold time,” so a two-month-old puppy can hold it for roughly two hours. There are exceptions to the rule; your puppy should be able to hold it for slightly longer period of time at night as he gets older and you pup will need potty breaks more frequently when he’s playing.
Based on the principles of social learning, model-rival training uses a model, or a rival for attention, to demonstrate the desired behaviour.[69] The method was used by Irene Pepperberg to train Alex the African Grey Parrot to label a large number of objects. McKinley and Young undertook a pilot study on the applicability of a modified version of the model-rival method to the training of domestic dogs, noting that the dog's origins as a member of large and complex social groups promote observational learning. The model-rival training involved an interaction between the trainer, the dog, and a person acting as a model-rival, that is, a model for desired behaviour and a rival for the trainer's attention. In view of the dog, a dialogue concerning a particular toy commenced between the trainer and the model-rival. The trainer praised or scolded the model-rival depending on whether the model-rival had named the toy correctly. It was found that the performance times for completion of the task were similar for dogs trained with either operant conditioning or the model rival method. In addition, the total training time required for task completion was comparable for both methods.[70]

It typically takes 4-6 months for a puppy to be fully house trained, but some puppies may take up to a year. Size can be a predictor. For instance, smaller breeds have smaller bladders and higher metabolisms and require more frequent trips outside. Your puppy's previous living conditions are another predictor. You may find that you need to help your puppy break old habits in order to establish more desirable ones.

The concepts of "pack" and "dominance" in relation to dog training originated in the 1940s and were popularized by the Monks of New Skete in the 1970s. The model is based on a theory that "dogs are wolves" and since wolves live in hierarchical packs where an alpha male rules over everyone else, then humans must dominate dogs in order to modify their behavior.[72] However, recent studies have shown that wolves in the wild actually live in nuclear families where the father and mother are considered the pack leaders, and their offspring's status depends on their birth order which does not involve fighting to attain a higher rank, because the young wolves naturally follow their parents' lead.[73]
Suppose 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.
In the 1950s Blanche Saunders was a staunch advocate of pet-dog training, travelling throughout the U.S. to promote obedience classes.[17] In The Complete Book of Dog Obedience, she said, "Dogs learn by associating their act with a pleasing or displeasing result. They must be disciplined when they do wrong, but they must also be rewarded when they do right."[24] Negative reinforcement procedures played a key part in Saunders' method, primarily the jerking of the choke chain. The mantra taught to students was "Command! Jerk! Praise!" She felt that food should not be an ongoing reward, but that it was acceptable to use "a tidbit now and then to overcome a problem." Saunders perhaps began the shift away from military and police training methods, stressing repeatedly the importance of reinforcement for good behaviour in training—a move toward the positive training methods used today.[25]