Thanks for your query.
Unfortunately I am unable to give any suggestions as you have not given enough information about your problem. There are many reasons why someone gets pain in the nails. Correct treatment depends on the proper assessment.
Next Steps
Please consult the Dermatologist for further evaluation of your problem.
Health Tips
Providing an accurate description of problem and high resolution photos helps us to give correct advice about your condition.