First, handle the hammer firmly.
Next, lift and drop the hammer with your forearm and straight wrist.
Then, drive the nail with weight of the hammer.
After that, angle nails against the grain to prevent the wood from splitting.
Finally, drive the nail evenly with the work surface.