It must be hurting like hell; even I have gone through this so I can understand. You need to cover and disinfect the wound otherwise it can easily get infection. When my nail broke I used a solution to clean the wound and then I pasted
bactigras over it. Within 2 weeks it healed.
I hope your nail grows back again.
Bye