If your dog has stained the hardwood floor, it will have to be sanded down to the bare wood and then cleaned, dried and then refurbished. Pet stains that soak into the hardwood will not come out from what I’ve seen. You will have to have someone come out and cut the piece out that is bad then replace and re-wax the piece and possibly stain the wood to match the original floor board.