It is called WHITLOW. If it is very painful and pus pointing is present, it may warrant incision and drainage of the pus. You will still require antibiotics, better to show to a general surgeon, than going for over the counter antibiotics
Next Steps
Consult a General Surgeon in person
Health Tips
Some times it is caused by HSV, Herpetic Whitlow, doesn't warrant antibiotics at all