You can do it both ways, depending on the method you use and if you feel up to it. I do it when I wake up, but sometimes I wait until 'bout 3-5 PM because I wake up so early, I don't recommend doing that though unless you have really good memory on dreams [luckily for me, I do]