It could be an infected hair follicle, a blocked gland, or something more serious. If it is causing you pain I would encourage you to get it looked at. You might be in need of antibiodics.
Hi there and welcome. Very likely a lymph node that is swollen. Have you been sick recently?