Also, you don't want to be angry/spank your pup when he doesn't go to the bathroom outside. He will then begin associating outside as bad and that will just stall the training and make it that much more difficult for you to potty train him. Outside should be a positive experience, not a negative one.
Ummm ... and I accidentally put all "she's" without thinking on the first post and it's too late to go back and edit. Sorry!