Anxiety and scratching.

Hey there. soooo i have a question. when im nervous or my anxiety freaks out i scratch my scalp. It has came to a point where im literally trying to dig a hole in my scalp. I went to my doctor yesterday and spoke to him about it and he just brushed it off as dry skin 😳😒. so now i feel even more depressed because nobody understands. i pick constantly. whenever i can. i look forward to it. something is seriously wrong with this. I need some advice.