Employee was using a socket and ratchet to remove a lid from a continuous miner and the ratchet slipped. Employee's hand struck a nail that was lodged in the recessed area of the lid handle and was pushed into his hand between the third and fourth knuckle.