The disorder is called trichotillomania (I'm not sure if that's the correct spelling though), and I had for quite a while. I don't know of any medication for it, but you could probably find information online. You could try finding other stims instead, although I'm afraid the only ones I seem to switch between are self-destructive in some way. Still, now that I have an MP3 player I use music for stimming, which helps a lot, and sitting on my hands also helps when I feel the need to do something like that, which both stops the movements of these stims, and creates pressure on my hands, which also helps me feel less stressed. Anyway, I hope this helps, and as I said before, if you look online you could probably find some more info.
Just play about with the spelling a bit if this isn't correct, and you should find something.
I've had this for quite a while. Music seems to calm me down as well.