How to do it:
Step 1:
Let the wax harden completely. Not like kind of hard, but really hard. Working on melted or even just soft wax will likely end up making the situation worse and push the wax deeper into the clothing fibers.
Step 2:
Once the wax has hardened, scrape it off the clothing using a dull knife, a scraper, or even a spoon. Just be very gentle, as delicate fabrics can be damaged from harsh scraping.
Step 3:
Now all you should be left with is the wax that has worked its way into the fabric fibers. To remove that, take a white towel and place it under the cloth, and put a double layer of paper towels on top of the stain. Use an iron set at low to medium heat and press it over the stain for a few seconds. The melted wax should soak into the paper towels. As you work, change the spots of the paper towel set over the stain to prevent over-saturation.
Step 4:
Wash it off — Once the wax is removed, wash the clothing as you usually do and check for any remaining stains before drying.
Step 5:
If the spilled wax was colored, the dye in it will probably leave behind a stain as well. To remove this discoloration, make a solution using oxygen bleach and water. Soak the piece of clothing for a few hours. You could also try applying laundry detergent directly to the stain for spot cleaning light stains.