Pregnancy test

I had a question... It says the best time to test is first pee of morning... But is that like when I wake up in the middle of the night, first pee when I actually get up or? I wanna make sure to get the most accurate results and for the first time in years I have missed a period day.