Get the indented area of the carpet wet. You can do this with a spray bottle or ice cube. Once the water has been absorbed, blot the excess water, and iron the carpet. Be sure to put the heat setting on low, so you don’t melt the carpet fibers. Stop ironing when the fibers are almost dry. Fluff them back into place before they are completely dry, and they should look like new.