Dr Lloyd-Jones wisely says:
… we must never humiliate another person. If in punishing or administering discipline or correction, we are ever guilty of humiliating the child, it is clear that we ourselves need to be disciplined.
Never humiliate! Certainly punish if punishment is called for, but let it be reasonable punishment based upon understanding. And never do it in such a way that the child feels that he is being trampled upon and being utterly humiliated in your presence, and still more, in the presence of others.
Roger Ellsworth, What the Bible Teaches about Christian Parenting (Darlington, England: Evangelical Press, 2007), 75–76.