[header] How to potty train a puppy in an apartment [title] Take your puppy outside frequently. [step] A young puppy (8 weeks) needs to be given the opportunity to go outside every 20 minutes, if you are to increase the chances of her peeing outside rather than inside. Older puppies also need to relieve themselves frequently, as they can't physically hold their bladder for more than an hour or two. 
To avoid accidents, scoop up your puppy and take her outside once an hour like clockwork. This way your puppy will learn to associate going outside with going to the bathroom.