carrot and stick

[carrot and stick] {n. phr.} The promise of reward and threat of punishment, both at the same time.

John's father used the carrot and stick when he talked about his low grades.