Hit the nail on the head without smashing your fingers.
The next time you hammer a nail, do it the safe and easy way. First, mark the point on the wall (or anything else) that you want to insert the nail. Use a clothespin to hold the nail steady for the first couple of strikes. If you miss, you’ll hit the pin and not your fingers. Then, move the pin and complete the hammering.