In Tae Kwon Do what they teach us is first you have 'shock' and partially imobalize them, stay out of range of a grab, and run.
So for example, if they have you by the hair you're supposed to grab their hand, twist yourself to pull them toward your level, then get them right in the groin or a kneed to the nose. But, it takes practice, you know?
We used to practice a lot, like out of an hour class 30-45 minutes was all self-defense depending on the techniques. I can still see them in my head. But out of practice.