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.
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.
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.
In 1848 W. N. Hutchinson published his book Dog Breaking: The Most Expeditious, Certain and Easy Method, Whether Great Excellence or Only Mediocrity Be Required, With Odds and Ends for Those Who Love the Dog and the Gun. Primarily concerned with training hunting dogs such as pointers and setters, the book advocates a form of reward-based training, commenting on men who have "a strong arm and a hard heart to punish, but no temper and no head to instruct" and suggesting "Be to his virtues ever kind. Be to his faults a little blind." Stephen Hammond, a writer for Forest and Stream magazine, advocated in his 1882 book Practical Training that hunting dogs be praised and rewarded with meat for doing the correct behavior.
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.
The next step is to teach your dog to ring the bell for a treat. Your dog has to be motivated to ring the bell, and in the beginning going outside isn’t enough to motivate him. But, if you teach him to ring the bell for a treat, he will quickly learn to ring the bell. You’ll want your dog to ring the bell with his nose, so make sure you hang the bell so it is nose level.
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.