Summarize this article in one sentence.
Work with a helper so you can carry heavy pieces of furniture into a different room. Then take out any accessories that are near or on the floor, such as vent covers or rugs, so you can rip up the carpet. Take down any long curtains so they don’t get in the way while you work. Dirt and dust can get in the way when it’s time to sand your floors. Before you pull up the old carpet, go over the entire carpet thoroughly with your vacuum to get rid of any dirt. Vacuum the area 1-2 times to get the most dirt out of the carpet so it doesn’t transfer to a different room. You can start in any corner of your room. Pry up the edge of the carpet with a pry bar so you have a handhold. Then slowly pull up the carpet, moving to the center of the room. Once you’ve pulled all the corners out, roll up the carpet so you can remove it easily.  To make things easier, use a razor knife to cut through the carpet so you can remove it in sections. Wear work gloves if you want to get a better grip. Start in one of the corners of your room and lift the edge of the carpet pad with a pry bar. Grab the edge of the pad and slowly pull it back toward the center of the room. Don’t move too fast since the carpet pad could rip and make it more difficult to move in one piece. Once the pad is lifted, roll it up and take it out of the room. Some of the carpet pad may come up with carpet depending on how old it is. Look for staples in your floor since they might have held the carpet pad down. Pry the staples out of the floor with the back of a claw hammer. To remove tack strips, place the flat edge of a pry bar near one of the nails in the board. Hit the end of the pry bar with a hammer to lift up the board. Pull each nail out of the floor so you can remove the tack strip in one piece. Tack strips have nails that point up, so stand back while you’re prying the boards in case they break and watch where you grab them. Check the color of the adhesive under your carpet if there is any. If it’s yellow, use a plastic scraper or a chisel to break it apart. If the adhesive on the floor is dark brown or tan, scrub the floor with cleaning rags and an adhesive remover, such as mineral spirits. If there’s any residue left from the adhesive, then use a general purpose adhesive cleaner to remove it. Adhesive remover is flammable, so make sure any sources of sparks or fire are removed. Using a razor knife, score the top edge of the baseboards where they meet the wall. Beginning at a corner, place a pry bar between the baseboard and the wall, then slowly pull forward. Then move 12–18 inches (30–46 cm) along the baseboard and pry it again. Once the board is loose, pull it off the wall in one long piece. Continue removing the rest of the baseboards in the room.
Remove any furniture and accessories from the room. Vacuum the old carpet. Begin in one corner and pull up your carpet. Pull up the carpet pad. Pry up any carpet staples or tack strips from the wood. Remove any carpet adhesive. Remove the baseboards.