pregnancy test!

Does it matter what time to take a pregnancy test?