first things first

[first things first] Other things must wait until the mostimportant and necessary things are done.

Study your lessons beforeyou go out to play. First things first.