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
fold. Diagnosed by gram staining and
KOH wet mounts from the skin and
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.