Pregnancy test

Stella
How soon can one take a test and it be accurate? Thx