Idiom: Carrot and stick

What does 'Carrot and stick' mean?

If someone offers a carrot and stick, they offer an incentive to do something combined with the threat of punishment.

See also: