Welcome to HCM,
It seems that you have got some infection on scalp
giving rise to painful enlarge lymph nodes on both sides of neck.
Treat the scalp lesion with oral antibiotic medicine and you will be alright.
Apply antibiotic cream on sore part after proper cleaning with anti septic lotion.
Go for treatment of underlying infection on scalp like fungal infection
Ok and bye.