Hello and welcome to JustAnswer,
It's so interesting to field questions on this site.... it's a real education for me....
So the first thing to ask is IF you have been diagnosed correctly..... If a physician has made this diagnosis then the next question should be why do you have the problem?AS YOU CAN SEE FROM THIS LINK HERE
various conditions including thyroid disease can cause this, and finding and correcting the cause is the key.
So I wish I could definitively answer, but what follows, from the link above, is the best advice I can give....
What is the treatment for onycholysis?
Treatment of onycholysis depends on the cause of the problem. Eliminating or correcting the predisposing cause is the best treatment. For example, treatment of hyperthyroidism will allow the nails to regrow normally and nail infections can be treated with antimicrobials.
The portion of nail that has separated will not reattach to the nail bed and you will have to wait until the nail is fully regrown for the condition to be completely gone. Fingernails take 4-6 months to fully regrow whilst toenails may take twice as long.
To prevent deterioration or recurrence of onycholysis after it has cleared up:
- Clip the affected portion of the nail, and keep the nails short.
- Avoid injuring the affected nail, and keep the nail bed dry.
- Avoid exposure to contact irritants such as nail enamel and enamel remover or solvents and detergents.
- Wear light cotton gloves under vinyl gloves for wet work."