Use a carpet cleaning spray or a mixture of dish soap, water and white vinegar and work it into the carpet with a spoon. Dab it with a white cloth until it dries to remove any discoloration. Place paper towels on the oil stain. With the iron on a warm setting, iron over the paper towels for 10 seconds.