Best time to take a pregnancy test

Tasha

Can anyone tell me when the best time to take a pregnancy test. I know it’s morning time but I drink a lot at night time?