It seems that you may be having pityriasis
There may be infected crusted lesions on the scalp.
There may be itching and pain due to seconadary infection.
Initial lesions might be seborrheic dermatitis
,prurigo,irritant or allergic dernatitis.
You may be investigated to rule out DM,HIV,anaemia or other systemic diseases.
Cleanse the scalp with mild savlon liquid.
Heavy antibiotics,anti inflammatory drugs,vitamin C
and immunoboosters may be taken.
You consult dermatologist
I hope you got my answer.
Dr. Ilyas Patel MD