fix someone's wagon
1. (Said to a child as a threat) to administer a spanking.
Stop that right away or I'll fix your (little red) wagon!
2. (Said of an adult) to thwart or frustrate another, to engineer his failure.
If he sues me for slander, I will counter-sue him for malicious prosecution. That will fix his wagon!