Although you can use a metal floor scraper to remove old carpet glue from most types of floors, the scraper would damage a wood floor. For wood floors, you can remove carpet glue with adhesive remover or white spirit, both available at home improvement stores. Once the liquid has softened the carpet glue, scrape it up with a plastic putty knife. Use white spirit for dark or tan carpet glue and adhesive remover for yellow carpet glue.
Open windows in the room and place a fan near a window to remove the chemical fumes. Put on rubber gloves to protect your hands from the chemicals as you work.
Scrape up any loose carpet glue with a plastic putty knife, but don't force up any glue that is adhered fast to the wood floor.
Apply adhesive remover or white spirit to the remaining carpet glue. Let the chemicals work on the glue according to the manufacturer's instructions.
Pry up the softened carpet glue with a plastic putty knife.
Pour adhesive remover or white spirit to a rag. Clean away any remaining glue with the rag.
Mop the floor with plain water to remove any remaining chemicals. Leave the windows open for 24 hours to let the fumes dissipate.