After removing carpet, remove any remaining carpet glue using a scraper and/or heat gun. Next, sand the floors to eliminate adhesive residue and imperfections. Staining can enhance the wood’s color and give it a polished finish. Finally, sealing the floors provides protection and enhances their durability and appearance.