How much urine and beginning or end?

I don't know how to fully explain what I am talking about. When testing on a pregnancy test, how much urine in a cup should you use? I always have a lot of pee when I wake up in the morning and I don't know whether to use a little amount or a lot. And should it be the beginning of the pee or near the end? So confused?