In addition, you may also need a deodorizer to eliminate bad scents that may encourage your dog to revisit the same spot. Clean carpets using deodorizers and allow them to dry completely. 9. Puppies should go out before sleeping When it comes to puppies, additional precautions should be taken to avoid peeing inside the house at night.