If someone has spank you, then such dream symbolizes your childish attitude towards some things. If you were the one who spanked someone, then it means that other people annoy you.
Spanking dream meaning
Read more about dreaming of Spanking in other dream meanings interpretations.