The next time you need to hammer a nail, protect your fingers with a cheap plastic comb. The tines of the comb should keep the nail tight and steady enough for you, according to Real Simple.
You'll probably want a decent-sized comb like the one in the picture and not one of those piddly pocket combs.