To dream of being spanked, or that you are spanking someone, suggests that you need to work on your childish rage and tendency to have temper tantrums.
[1]If one is being spanked, he/she is getting or deserves punishment for doing something wrong that is childish.
[2]Symbolic of discipline, Prov.13:24
[3]