After sleep, the order is roughly exercise, moderating my caffeine intake, and taking breaks. I've found that it can be hard for me to remember to take breaks, and I find that with them, I don't get as exhausted as when I try to power through nonstop. Pomodoro timing (I use a free Chrome extension called Marinara) is especially helpful for that.