It can be due to an infected hair follicle, cold sore or impetigo. It is a highly contagious superficial bacterial skin infection. Primarily caused by Staphylococcus aureus and sometimes by Streptococcus pyogenes. Topical and oral antibiotics are the treatment of choice. My sincere advice would be to consult a dermatologist and get prescribed oral antibiotics also because sometimes topical therapy with antibiotic creams is not sufficient for the treatment.
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.