Herpetic whitlow https://en.wikipedia.org/wiki/Herpetic_whitlow
Herpetic whitlow is a lesion on a finger or thumb caused by the herpes simplex virus. It is a painful infection that typically affects the fingers or thumbs.

Herpetic whitlow can result from infection with HSV‑1 or HSV‑2. HSV‑1 whitlow is often contracted by health‑care workers who come into contact with the virus; it is most common among dental and medical personnel exposed to oral secretions. It is also frequently seen in thumb‑sucking children with HSV‑1 oral infection, and in adults aged 20 to 30 after contact with HSV‑2‑infected genitals.

Treatment ― OTC Drugs
Acyclovir cream can be used to treat the infection, and acetaminophen may be taken for pain relief.

#Acyclovir cream
#Acetaminophen

Treatment
#Acyclovir
#Fancyclovir
#Valacyclovir
More information ― English
References Herpetic Whitlow 29494001 
NIH
Herpes simplex virus (HSV) is common and is most often transmitted in childhood through direct physical contact. The most common infectious sites are oral mucosa (HSV-1) or genital mucosa (HSV-2). Rarely, the infection may be spread to the distal phalanx via direct inoculation and cause pain, swelling, erythema, and vesicles in an entity known as herpetic whitlow.
 Herpetic Whitlow - Case reports 29414271
A one-year-old girl was hospitalized after experiencing four days of fever, redness, and swelling in one of her fingers. Tests on a mouth sore confirmed the presence of herpes simplex virus type 1, leading to a diagnosis of herpetic whitlow.