To train, discipline, or reorganize a person, group, or thing by vigorous or decisive action so that it becomes efficient, orderly, or fit for purpose.
Examples:
EN: So you're the frivolous feline I've got to whip into shape?
ES: ¿Así que tu eres el felino frívolo que tengo que poner en forma?