I don't think spanking is wrong. Sometimes, a child needs to be disciplined in that way so that they knew that they've done terribly wrong. But spanking only is not enough, you also have to explain to the child why you hit him and what he has done wrong.