Pee in cup

If you pee in a cup to take a pregnancy test how long do you hold the test in the cup?