Sounds like folliculitis. It could also be some sort of infection. Go to a dermatologist and ask about shampoos to help solve this issue and for a more accurate diagnosis!
Hello,
These pimples can be due to folliculitis or perifolliculitis scalp. These may be responsible for the hair loss also. Perifolliculitis is characterised by small, very itchy pustules within the scalp, often most troublesome on the frontal hairline. 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.