Hello,
It can be due to folliculitis caused by staph, acne, pityrosporum folliculitis caused by fungal infection and sebaceous cysts. Treatment for all are different. It can vary from antibiotics for staph and bacterial infection , antifungals for pityrosporum folliculitis to excision for sebaceous cysts.
You should get it evaluated from a dermatologist to confirm the diagnosis.
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.
You can't be messing with staph, pulling pieces off like that. I'd suggest neem shampoo and neem soap and improving your diet to get rid of all sugar and junk food. If you are off antibiotics, take a probiotic. Staph is extremely contagious. Find out if it's MRSA