Scrape out as much as you can with a knife then freeze what is remaining and continue to scrape more off. You should comb the carpet in different directions, but be careful not to damage it. Once you have scraped off as much as possible, use an iron on a low to moderate temperate placed over a few paper towel and warm the area until the wax melts and is absorbed into the paper towel. If a stain remains once the wax is absorbed, use a stain removal product. Should do the trick