I shaved my son's hair as punishment. What should I do?

My son is a very naughty person. He doesn't listen to my words. His exams were very bad. No matter what punishment I gave him, he did not behave. So, as punishment, I shaved off all the hair with a hair clipper. He is crying and not talking at home, he is embarrassed to go to school tomorrow, what should I do? I admit I was cruel.
I shaved my son's hair as punishment. What should I do?
Post Opinion