In agreement with Cjrose, to add to that, sometimes it is also a control matter, ie; other parts of their life are out of control, or beyond their control, and cutting themselves is the only thing that they can solely control.
But how to deal with this, or assist in getting it stopped, i'm not sure, i think it would change with the individual.