Depending on the content of the dream, hammering might represent feelings of anger and hostility or you may be reflecting on hard work and honorable endeavors. Additionally nails may have some sexual connotations. A man may be expressing some repressed anxiety about sexual potency while a woman may be expressing her unconscious abhorrence of sex.