Compulsive hair pulling is called Trichotillomania. This is an impulse comtrol disorder similar to compulsive skin picking and cannot be cure. But there are many treatments and therapies out there that can help a person suffering from this to recover.
Hair pulling disorder is a form of O.C.D, there is medication available from your doctor and counselling can help. If you have hairpulling disorder it is important to get help for it.
You most likely need to go to a therapist. A shrink can help you with this disorder. Hair pulling is a bad habit that is very hard to break, but it must be done.