I cannot confirm anything without examination but pain at the side of
nail can be due to paronychia. It results from a breakdown of
the protective barrier between the nail
and the nail
fold. Diagnosed by gram staining and KOH wet mounts from the skin and nail scrapings.
Treatment includes warm water soaks of
the affected finger 3-4 times per day, oral antibiotics, topical antifungals and surgical intervention in more severe cases. my
sincere advice would be to consult a dermatologist.