It is a office procedure, It takes around 30 minutes. Cost depends on clinic and the operating expertise. Recurrence of nail problem can be quite disappointing. There are few things to remember about the condition. It can be referred in this link for authentic information on ingrown toe nails
https://www.aad.org/public/kids/nails/ingrown-toenails\
For preventive care, meet a Podiatrist or Dermatologist.
Next Steps
You can meet a qualified Dermatologist with MD/DNB/DDVL/DVD degree for proper examination.
Health Tips
You can consult me online for personal recommendations.