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.
Success is usually attained in small steps. Training sessions with your dog should last 10 to 15 minutes, two to three times per day. This is especially true for puppies because of their very short attention spans. Longer sessions can cause an adult dog to become bored. Start by teaching basic commands. Try to stick with one action per training session so your dog does not get confused.