Pregnancy test

Can it be anytime? And what brand is best?