Any tips on dealing with an ingrown toenail?

I made the mistake of cutting my toenail too short and now I’m trying to grow it out but I’m scared. I don’t want it to get so bad that I have to get surgery.