Best time to do a pregnancy test

So iv got a test when's the best time to do it