Hello. Welcome to hcm.
It is advisable not to treat injuries on your own as it can cause tetanus,infections etc.
There was a severe bleeding and some blood has got clot in the bone. It is slowly coming out as black mass.
I advice you to immedietly visit ER and get a xray done. Also get your wound washed and you should be put on antibiotics and a shot of tetanus vaccine
. Slowly it will heal after dressing is done by about 4 weeks.
All the best