Here are various hints from the Heloise site. You might develop a plan of action from reading these. If you apply heat to it from an iron or hair dryer, just make sure the carpet is not synthetic or the fibers might melt.
To get rid of candle wax from the tablecloth, let the wax harden"a quick way is to put it in the freezer. Then scrape it off the tablecloth with a dull knife. Place paper towels on both sides of the stain and set the iron on the warm setting, then iron (no steam) over the stained area. Change the towels often to absorb all of the wax. Launder as usual.
Candle Wax on Carpet
HINTS THEN: Towel and iron
HINTS NOW: Ice and a metal pan
Put ice cubes into a metal pan. Place it right on top of the candle wax until the wax is frozen solid. With a small hammer, hit the wax to break it up. Pick up the pieces. Then apply dry-cleaning solvent on a clean cloth to remove any leftover residue.
Candle Wax on the Tablecloth
Remove hardened wax with a dull knife. Place stain facedown on paper towels. Tackle from the back with cleaning fluid or dry-cleaning solvent. Still there? Treat with a solution of 1 tablespoon mild white hand dish-washing liquid and 1 teaspoon household ammonia in 1 cup water. Then wash according to care label in the hottest water safe for the fabric.
Lift candle wax that dripped onto the carpet?
Once wax has hardened, scrape up what you can with a dull knife. Put paper towels or and old, white cloth over the area; with iron on low-warm (no steam), gently press. As wax is lifted, move towels so a clean part covers the remaining wax; repeat until wax is gone. If colored wax leaves a stain, blot with spot remover or carpet cleaner, following label directions.