What is the most effective way of potty training a rat terrier puppy in an apartment?

Kathleen asked: The puppy is female, and 8 weeks old.