Grounding techniques help to reorient a person to reality and the immediate here-and-now. They can help you to keep yourself safe and free from injury, since self destructive behaviors are often used as a way to cope with dissociative symptoms or overwhelming anxiety (addictions, cutting oneself, bingeing and purging, etc.).
