Late period?

How many days after a missed period should I take a pregnancy test?