Pregnancy test

How early can you take a pregnancy test? I’m 6 dpo