What happens next?

How to remove hair removal wax from the carpet
Don't put water on the wax.
Water will only make it worse. It will keep the wax from drying and allow it to sink deeper into the carpet fibers.
Put some ice cubes in a plastic bag. You will use these to cool the ice but you want to make sure you don't get the wax wet.