How does electrolysis sometimes cause pitting? Is it related to overtreatment? How can I avoid this potential side effect?

I have read that electrolysis can sometimes cause pitting of the skin. Could you explain how and why this happens (is it repeatedly heating the skin, or the destruction of the follicles or something else?) Is it more likely to happen the longer a particular area is treated? How can I avoid this potential side effect? Thank you very much.

No doctor answers yet