It's not so much the dog doesn't listen, more that he doesn't understand what you want him to do. Go back to basics and don't punish him when he toilets indoors. Double your vigilance and take every opportunity to put him outside to toilet. The crucial thing is to be present when he does toilet in the correct place, so that you can reward him. This makes him keener to repeat the performance to get another treat. Conversely, if you have been telling him off for indoor accidents he may already feel inhibited about going to the toilet in your presence, including when he goes outdoors. This is one reason why it's important not to punish for inappropriate toileting.
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.
One of the biggest predictors of a speedy potty training process is owner diligence. If you’re on top of your puppy’s schedule and you stick to a strict prevention and supervision regiment, you should be well on your way to potty training success within a few months. You can consider your puppy almost fully housetrained when you’ve gone an entire month without a single accident, but keep in mind that potty training is an inexact science. It’s best to have several dry months before you can really trust that your puppy understands the rules.
^ Herron, Meghan E.; Shofer, Frances S.; Reisner, Ilana R. (2009). "Survey of the use and outcome of confrontational and non-confrontational training methods in client-owned dogs showing undesired behaviors" (PDF). Applied Animal Behaviour Science. 117 (1–2): 47–54. doi:10.1016/j.applanim.2008.12.011. ISSN 0168-1591. Archived from the original (PDF) on October 29, 2012.
In October 2012, Millan appeared on The Alan Titchmarsh Show. Titchmarsh called his methods "cruel" and "unnecessary", citing a video in which, Titchmarsh said, Millan punched a dog in the throat. Millan called it a touch, not a punch. Titchmarsh read out an RSPCA statement saying that "Adverse training techniques which have been seen to be used by Cesar Millan can cause pain and fear for dogs and may worsen their behavioural problems." Writing in the British newspaper Metro, features writer, Andrew Williams, described the interview as the first time that Titchmarsh has "deviated from his usual interview strategy – which runs the gamut from mild to wild sycophancy" and described him as "probably the only celeb Millan has failed to win over..."
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." 
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.
As your puppy becomes more reliable about using his toilet area and his bowel and bladder control develops, he can begin to spend more time outside his room or pen with you in the rest of your home. Begin by giving him access to one room at a time. Let him eat, sleep and play in this room but only when he can be supervised. When you cannot supervise him, put him back in his room or pen.
No-pull harness The no-pull harness is worn on the body of the animal. The no-pull harness differs significantly from the standard harness since it makes it harder for the dog to pull because it distributes energy over the dog's back and shoulders. Like the head collar, the no-pull harness does not teach the dog not to pull, it only makes it harder for the dog to pull.
Millan's first job in the United States was at a dog grooming store. He later created the Pacific Point Canine Academy. Jada Pinkett Smith became one of Millan's first clients and supporters when he was working as a limousine driver, providing him with an English tutor for a year. Subsequently, Millan created the Dog Psychology Center, a two-acre (0.81 ha) facility in South Los Angeles, specializing in working with large breed dogs.
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.
César Felipe Millán Favela (/ˈsiːzər mɪˈlɑːn/; Spanish: [ˈsesaɾ miˈʝan]; born August 27, 1969) is a Mexican-American dog trainer with over 25 years of canine experience. He is widely known for his Emmy-nominated television series Dog Whisperer with Cesar Millan, which was produced from 2004 to 2012 and is broadcast in more than 80 countries worldwide.
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. 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. 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, the basic principles of Most's methods are still used in police and military settings.