I would recommend putting up a pet gate until your pet is potty-trained to avoid accidents. Another solution is to put down polyester and nylon rugs since these are easier to clean.