Don't allow your puppy freedom outside of his room or pen unless you know absolutely for sure that his bladder and bowels are completely empty. When you do let him out, don't let him out of your sight. It is a good idea to have him on leash when he is exploring your home. He can't get into trouble if you are attached to the other end of the leash. Never, ever tie the puppy's leash to something and leave the puppy unattended.
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.
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.
Classical conditioning (or Pavlovian conditioning) is a form of learning in which one stimulus, the conditioned stimulus, comes to signal the occurrence of a second stimulus, the unconditioned stimulus. Classical conditioning is when a dog learns to associate things in its environment, or discovers some things just go together. A dog may become afraid of rain through an association with thunder and lightning, or it may respond to the owner putting on a particular pair of shoes by fetching its leash. Classical conditioning is used in dog training to help a dog make specific associations with a particular stimulus, particularly in overcoming fear of people and situations.
Lindsay says of this study, "Schilder and Van der Borg (2004) have published a report of disturbing findings regarding the short-term and long- term effects of shock used in the context of working dogs that is destined to become a source of significant controversy ... The absence of reduced drive or behavioral suppression with respect to critical activities associated with shock (e.g., bite work) makes one skeptical about the lasting adverse effects the authors claim to document. Although they offer no substantive evidence of trauma or harm to dogs, they provide loads of speculation, anecdotes, insinuations of gender and educational inadequacies, and derogatory comments regarding the motivation and competence of IPO trainers in its place." 
Consistency is crucial. This may mean taking time off work to be there to take the pup outside every 20-30 minutes when they are awake. Crate training will also help the 'penny drop' as it teaches the pup to hold on until taken outside. Then, be sure to stay with the pup in the yard so you are there to reinforce how clever they are when they do go in the right place.
Dog training is the application of behavior analysis which uses the environmental events of antecedents and consequences to modify the dog behavior, either for it to assist in specific activities or undertake particular tasks, or for it to participate effectively in contemporary domestic life. While training dogs for specific roles dates back to Roman times at least, the training of dogs to be compatible household pets developed with suburbanization in the 1950s.