If your child may be having issues that involves self-harm, please consider seeking therapy or counseling.
See strategies under Mindfulness and Coping Skills to look for strategies to replace the self-harming behavior.