It's optimal to exercise right after you wake up. At this time, your hormones, including testosterone, are at their peak. Even if you feel groggy or exhausted, when you begin to raise your heart rate, you'll feel more invigorated and prepared to tackle anything.