This could most probably be a folliculitis or an abscess. If warm compresses and antibiotics don't resolve the symptoms or if the swelling becomes bigger, you may need to see a surgeon to drain the abscess.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.