How can you avoid hitting your fingers when driving in a nail with a hammer?

How can you avoid hitting your fingers when driving in a nail with a hammer?