How early can you test

Ma

How early can you take a pregnancy test for accuracy?