When we took up the carpet a few years ago (cat urine smell & it was VERY old carpet.) there were stains & urine odor on the wood, we used Peroxide & the stains & smell went by by.