Dr. Juster's advice is excellent.
Additionally, understand that with spanking etc. You are reenforcing the bad behavior. He want your attention, even if the attention is negative. The more attention you give the bad behaviors, the more bad behaviors you'll get. Rather, emphasize praising he good behaviors, and the bad ones will naturally fade away.