Prior to the 1980s, Karen Pryor was a marine-mammal trainer who used Skinner's operant principles to teach dolphins and develop marine-mammal shows. In 1984, she published her book, Don't Shoot the Dog: The New Art of Teaching and Training, an explanation of operant-conditioning procedures written for the general public.[25] In the book Pryor explains why punishment as a way to get people to change often fails, and describes specific positive methods for changing the behaviour of husbands, children and pets.[35] Pryor's dog training materials and seminars showed how operant procedures can be used to provide training based on positive reinforcement of good behavior.[25] Pryor and Gary Wilkes introduced clicker training to dog trainers with a series of seminars in 1992 and 1993. Wilkes used aversives as well as rewards, and the philosophical differences soon ended the partnership.[36]
So, depending on how old he is and the size of your puppy, it’s unrealistic to expect him to be potty trained before this time. It will be helpful to keep in mind that your puppy is only able to hold their bladder 1 hour for every month old he is. So if your puppy is two months old, they can hold it for about two hours. Don’t go longer than this between bathroom breaks or they’re guaranteed to have an accident.
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.
If your dog isn’t giving you an obvious signal that they need to go out (like whining at the door) I suggest teaching them to ring a bell when they need to go outside. Some of the other signs dogs give that they need to go out such as pacing around or circling can be easy to miss if they’re in another room, which is why a noise based signal such as ringing a bell can make things easier.
If you want to prevent accidents before they happen you’re going to need to watch your pup at all times, including every time they wander off. It only takes one accident to set your training back. Now I know that watching your puppy non-stop isn’t exactly fun & exciting, but being able to catch them before they have an accident is why this method works so well.
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.
One of the biggest mistakes new puppy owners make is expecting their puppy to hold it for longer than he is physically capable. The general guideline for puppy “hold times” is that each month of age equates to an hour of “hold time,” so a two-month-old puppy can hold it for roughly two hours. There are exceptions to the rule; your puppy should be able to hold it for slightly longer period of time at night as he gets older and you pup will need potty breaks more frequently when he’s playing.

A dog learns from interactions it has with its environment.[1] This can be through classical conditioning, where it forms an association between two stimuli; non-associative learning, where its behavior is modified through habituation or sensitisation; and operant conditioning, where it forms an association between an antecedent and its consequence.[2]