Here is what I did to potty train Cactus... he has been potty trained since the fourth day I had him, which I realize every dog is different.
Everytime I would take him to go potty I would put on his leash and take him to the exact same spot in the yard... then command potty. When he did we had a puppy party and I made such a big deal out of it that I swear he almost peed again. I was told not to yell at him if I caught him peeing in the house because then he would think I did not want to see him pee at all which would make potty training impossible. I also did not free feed or water until after he was potty trained. I would only give him food three times a day, water five or six times. After he drank or ate, I would put the food and water away, wait for 10 minutes and then put on the leash, take him to the same spot, and command- then praise. I also never got him out of the crate once he was in for the night. He had two accidents in there the first two nights, I think, but now he knows that once he is in there, he is supposed to hold it until I let him out to the back yard.
Of course now that he is a couple months older, if I do see him peeing inside, he does get a scolding. He did it the other day when it was raining really hard because he did not want to walk outside in the rain.... I was steamed. So I put on his leash, took him outside in the rain!!! took him to his spot and commanded..... I waited him out that day, which wasn't long because he does not like rain, but still, he apparently needed to be reminded that in the house is not it!
Take this all with a grain of salt and do what makes you the best puppy parent!
~Anne