Pregnancy test

How soon can you take a test?