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.
If your puppy is not sleeping in her crate or pen, and is out in the house, you must follow her around to know what she is doing: chewing a bone, running circles, getting a drink of water, etc. In fact, don't take your eye off of her! If you cannot watch her continuously, you must put her back into her pen or crate to prevent potty training "mistakes".
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." 
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. 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. 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.
The 1980 television series Training Dogs the Woodhouse Way made Barbara Woodhouse a household name in the UK, and the first international celebrity dog trainer. Known for her "no bad dogs" philosophy, Woodhouse was highly critical of "bad owners", particularly those she saw as "overly sentimental". She described the "psychoanalyzing of dogs" as "a lot of rubbish". Her no-nonsense style made her a pop-culture icon, with her emphatic "sit" and catch cry of "walkies" becoming part of the popular vernacular.
There is nothing inherently wrong with telling your dog “no,” except that it doesn’t give him enough information. Instead of telling your dog “no,” tell him what you want him to do. Dogs don’t generalize well, so if your dog jumps up on someone to say hello and you say no, he may jump higher or he may jump to the left side instead of the right. A better alternative would be to ask him to “sit.” Tell him what you want him to do in order to avoid confusion.
Unfortunately, there is no magic length of time or milestone age when a puppy can be considered fully housetrained and there are many factors that go into how quickly a puppy can be potty trained. Your puppy’s age plays a major role during the initial phase of potty training, as a very young puppy won’t have the muscle control necessary to hold it for long periods of time.
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.
Before enrolling with a particular club contact them and ask if you can go to watch a class without your dog. This will help you decide if this is the right environment for you and your dog. Some clubs have waiting lists and you will need to book ahead, some accept people on a roll on roll off basis. Prices will vary from a joining fee and then weekly payments to a one off fee for a certain length of training.