Dog Hygiene & Training
The best way to train your puppy or adult dog to not get the house dirty is through training. However, bearing in mind that you can't keep an eye on your dog all the time, perhaps the best option is a combination of crate training and paper training.
It is important that you spend lots of quality time with your dog. This will help you to train it quicker, and by doing so you will avoid other problems such as separation anxiety, destructive behaviour, barking and even aggression.