Put your puppy in a crate or a safe area whenever you can’t supervise him. Always, always remember to take your puppy to his or her potty spot when they have to go! If they’re going in multiple areas, or a wide range, then A) you are more likely to stumble upon an unpleasant surprise while walking around your yard; and B) it’s easier for your puppy to create another potty spot by creating a habit of eliminating somewhere off-limits.
Punishment is operationally defined as an event that lowers the probability of the behavior that it follows. It is not "punishment" in the common sense of the word,[42] and does not mean physical or psychological harm and most certainly does not mean abuse. Punishment simply involves the presentation of an undesired consequence (positive punishment) when the wrong behavior is performed, such as a snap of the leash, or the removal of a desired consequence (negative punishment) when the wrong behavior is performed, such as the trainer eating the cheese that would have been the reward.[43] A behavior that has previously been developed may cease if reinforcement stops; this is called extinction. A dog that paws its owner for attention will eventually stop if it no longer receives attention.[44]

It’s an instinct for your dog to want to investigate things you put near his muzzle, so he is likely to touch the bell lightly with his nose. Be ready for that moment and click and treat. If he is apprehensive, put the treat very near the ribbon of bells so that he almost HAS to touch them in order to get at his treat.  When he touches, click and treat!

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]
Pups between the ages of 9–12 weeks who were permitted to observe their narcotics-detecting mothers at work generally proved more capable at learning the same skills at six months of age than control puppies the same age who were not previously allowed to watch their mothers working.[56] A 2001 study recorded the behaviour of dogs in detour tests, in which a favorite toy or food was placed behind a V-shaped fence. The demonstration of the detour by humans significantly improved the dogs' performance in the trials. The experiments showed that dogs are able to rely on information provided by human action when confronted with a new task. Significantly, they did not copy the exact path of the human demonstrator, but adopted the detour behavior shown by humans to reach their goal.[57] A 1977 experiment by Adler and Adler found that puppies who watched other puppies learn to pull a food cart into their cages by an attached ribbon proved considerably faster at the task when later given the opportunity themselves. At 38 days of age, the demonstrator puppies took an average of 697 seconds to succeed, while the observers succeeded in an average of 9 seconds.[58]
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]
Individualised training is used with dogs that have an urgent or unique training problem such as fear, hyperactivity, aggression (and other related problems), separation anxiety, biting, excessive barking, insecurity, destructive behaviors, walking difficulties, and inappropriate elimination.[84][85] This type of training would normally be undertaken where the problem naturally occurs rather than a class situation. Class training can be effective in encouraging socialization and play with a peer group. Classes are often offered at a more affordable rate and can cover both problem behaviors and teach new skills. Classes can range from puppy and beginner training to more advanced training and skill training such as performing tricks or therapy work.[86]
The 21st century has seen the proliferation of television programs and accompanying books that feature dog training and rehabilitation,[37] including Joel Silverman's Good Dog U, Dog Whisperer with Cesar Millan, It's Me or the Dog featuring Victoria Stillwell, The Underdog Show, Dogs in the City, and SuperFetch. The Association of Pet Dog Trainers advises that television programs are produced primarily for entertainment, and while all programs will have good and not-so-good points, the viewer should critically evaluate the information before deciding which training tips to adopt.[38]

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.
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: