Hello hope you are good.
Painful sores in the head could possibly be due to several conditions. These sores can be caused by viral, bacterial or fungal infections. Acne and clogged hair shafts can cause scalp sores, too. Cysts on the scalp are another cause of scalp sores. In folliculitis there is inflammation of one or several hair follicles on the skin causing red, bumpy and pimple-like lumps.Tinea capitis causes round, red, scaly bumps on the scalp's surface. In psoriasis bumpy patches of skin with soreness may extend beyond the hair line and there are mild to severe thick, crusted plaques accompanying basic symptoms. Wash your hair regularly and avoid damp or sweaty skin. Avoid sharing personal care items such as combs and brushes. Do see a dermatologist for accurate diagnosis. Treatment will depend on the cause. Do keep me posted.
Best luck and take care!
The scalp sores can be due to perifolliculitis scalp. It is characterised by small, very itchy pustules within the scalp, often most troublesome on the frontal hairline. The other possibility is of pilar cysts scalp. The scalp should be washed with a mild normal shampoo as often as desired. Antidandruff shampoos containing antifungal agents such as ketoconazole or ciclopirox are sometimes helpful. Apart from that you need topical and oral antibiotics, antihistamines, oral steroids and topical tretinoin.
My sincere advice is to get it examined from a dermatologist. It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.