pregnancy test

When's the earliest time to take a pregnancy test and what's the best pregnancy test to use?