Pregnancy test

How long after a missed period can you take a pregnancy test?