You have to remember that there are many different types or breeds of dogs. The training of your dog depends on the breed you have. Some dogs learn quicker than others, and some dogs are easier to potty train than others. If you have a choice as to the pup you get, make sure you do your research. Learn how to train a specific breed, and how to best handle it.
The next thing that you want to keep in mind before you get started is that you must not get angry with the dog. If your dog does not get the potty or house training right the first time, give it a few minutes and try again later. It is sure to happen sometime, and when it does, make sure that you reward him or her with some playtime, or even a snack.