The treatment of an ingrown nail will depend on how bad or serious the problem is. If the nail is not badly ingrown or is not causing too much trouble, treatment may include simply cutting the nail correctly. In cases where the nail is infected or very painful, or where the problem has been occurring for a long period, nail surgery is often the best option.