From history it seems that due to stabbing there might be having soft tissue injury
and some hemorrhage giving rise to this problem.
Go for one antibiotic medicine course and proper dressing with antibiotic cream.
I think old nail will come out and gradually new nail will come up.
Ok and take care.