Just as a child needs a caring parent; an athletic team needs a coach; your puppy needs a leader and a clear social hierarchy. If you do not take up the role of leader, your dog will; and you will end up with an unruly, disobedient dog. Many people try to win their new puppy's love by letting the puppy always have its way. Buckets of affection is a wonderful thing for most puppies, but it must be tempered with respect.
I don't teach or recommend so-called "purely positive" methods that allow misbehaving pups to continue misbehaving, instead of teaching them which behaviors are and are not allowed. "Purely positive" is fine for teaching tricks and high-level competition exercises, but NOT for teaching the solid good behaviors that all family dogs need to know, and NOT for stopping behavior problems such as barking, jumping, chewing, nipping, chasing, etc.
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.
Introduce your new pup to its new home, family and their role. Just like when you are new to a place or group, your new pet may be bursting with curiosity, excitement, fear or joy. Now is the best time to lay out the foundation for a good and pleasant relationship with your pet. For a puppy to settle in and learn to trust and respect you and everyone at home, it is very important to establish your expectations of your puppy and be consistent with them.
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.
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.
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.
It’s best not to punish the puppy for making a mistake. Instead, focus on praising appropriate bathroom behavior. If you catch your puppy in the act, interrupt it by saying “No!” in a firm voice or clapping your hands loudly, then take the puppy outside to finish going to the bathroom. Never swat your puppy, yell at it, or try to rub its nose in the mess.