Nails in a dream may be a reference to “nails” (as in a fastener) or to fingernails or toenails. Keep in mind that whichever one of these appears in your dream may be a pun on one of the others, so meanings of all them should be considered.
The clothes we wear in waking life help identify us – they represent how we want others to see us. Clothes also hide our imperfect bodies, and metaphorically, our emotional and psychological imperfections. When we aren’t wearing clothes we are stripped of our identity and others can see us as we really are.