How I discipline

Spank, yell, time-out, arbitrary ultimatums? Empty Threats, grounding? What’s the best way to discipline a child?