I occasionally get pretty minor ingrown nails and I can kinda feel when the edges get tender beforehand. When that happens, I just cut a little V out of the middle of the nail, and that seems to relieve a little pressure on the edges and it continues to grow without hurting. Sounds like yours was pretty bad though.