Welcome to healthcare magic
I would recommend you to see a doctor. A nail going that deep over a toe should not be ignored. You will need x-ray, Tetanus
shot and course of antibiotics and analgesics. So do not delay your visit to emergency.
Hope this helped