Just recently my child swore at me. Do I spank him?
That your child should be punished for being disrespectful is obvious. Whether you choose to use spanking as the means is up to you. But leaving him unpunished will just encourage further disobedience in the future. "Because the sentence against an evil work is not executed speedily, therefore the heart of the sons of men is fully set in them to do evil" (Ecclesiastes 8:11).