Restrict what the child really enjoys, or remove that privilege for a period of time. I have four children, at times the punishment is early going to bed, at times a time out. It has to be a clear sign for unaccepted behavior. OF course, the more consequent patterns for that, the better as the child can understand what is to follow with certain things.
I've been working in kindergardens for some years and met hundreds of kids so I've seen what the consequences are for letting kids decide over everything. That will in no way happen in my house. But parents should above all look at the mirror and see what things we are doing that send wrong signals to the offspring.
In today's egocentric world many give money instead of time and often the rebellious behavior is a call for attention (not always). To have a good connection with the child certainly prevents potentially much the need for punishing. The effect of the environment is another thing. Therefore we are heading away from 'civilization', because it's all getting rather weird in downtown.
Off topic, but consider the possibility of demonic activity in kids too, perhaps from the school, tv. internet, etc. even relatives, friends. So we certainly ought to pray for our kids and kids in general. Often they do not know how to handle these things.