From history it seems that you might be having some chronic infection on scalp giving rise this problem.
There is possibility of having fungal infection
or dandruff.Consult dermatologist
and get diagnosed.
After proper diagnosis go for treatment accordingly.
Meanwhile take antihistamine tablet like Cetrizine
or Benadryl for itching.
In absence of itching healing will be faster.
Ok and take care.