lick into shape
Also, whip into shape. Bring into satisfactory condition or appearance, as in The garden looks neglected, but Dad will soon lick it into shape, or We need at least three more practices before the team is whipped into shape. The expression using lick, which some think alludes to how bears treat their cubs, dates from about 1600. The variant alludes to the forceful use of a whip to accomplish something.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.