Employee was attempting to change miner bits out on the #219 C/M Machine on the 1 North Section. The bit that the employee was trying to remove was stuck. In the process of striking the bit with a hammer the employee missed the bit and struck self in the hand with a hammer.