To pull a nail out of a board,
place the claw end of the hammer under the head of the nail, the use the hammer as a lever to extract out of the board.
place the blunt end of the hammer under the head of the nail, the use the hammer as a lever to extract out of the board.