Holding pee?

I usually can’t test in the mornings, how long should I hold my pee before testing?