Crack the whip

1. To discipline someone. 2. To make someone behave correctly.