Place the pan over low heat. Simmer, stirring occasionally, until melted. Leave the mixture to cool. While cooling, the impurities will settle down to the bottom of the pan. You can also pass it through a sieve to remove the impurities.
Video
Notes
The jaggery I get here usually do not contain any impurities, so I don’t strain it.