Your doctor can diagnose an ingrown toenail based on your symptoms and a physical examination of your nail and the surrounding skin.
If home remedies haven't helped your ingrown toenail, your doctor may recommend:
Your doctor may also recommend using topical or oral antibiotics, especially if the toe is infected or at risk of becoming infected.
Source: https://www.mayoclinic.org/diseases-conditions/ingrown-toenails/diagnosis-treatment/drc-20355908