The possibilities are allergy, eczema, seborrhoeic dermatitis
etc. Diagnosis is more in favour of seborrhoeic dermatitis, if you have oily skin and hair, dandruff etc. Please use a ketoconazole
shampoo and use it on your hair twice a week. Shampoo should be left on the hair for a contact period of 5 minutes and then rinsed off. Apply a small amount of clotrimazole
cream daily for a week. If there is no symptomatic relief in a week, I would advise you to visit a dermatologist
Hope this helps.
Dr. Divya Kuttikrishnan