Scabs and sores on t he scalp, there are various reasons for that. The most important thing is to rule out if it is any skin condition called as scalp psoriasis. Here you get scaly lesions like thick plaques which more or less looks like what can be and it is very itchy. If that is the case the treatment should be underlying psoriasis. There is another conditions where you can get it called as sores or scabs called dandruff. We call it as seborrheic dermatitis of the scalp. They treat according to the condition called as antifungal shampooer antifungal, probably will need oral antifungal treatment, with topical applications. there are also other conditions where you get hair root infections and here we call it as scalp folliculitis here we need d an antibiotic shampoo or sometimes if it is severe, even oral antibiotics or topical antibiotic lotions and there are simple conditioning like dry scalp which can give you soreness. So then you need to use a moisturising lotion not the scalp and sometimes when it is very oily the glands can get blocked and can cause itching and soreness. So depending on the underlying problem, one has to rule out the condition and accordingly approach the condition and treat it. It is a long term condition. None of these are cured immediately. They may take a long time, probably few months and it is a continuous medication.
source