when to test?

how soon after my missed period should i take a pregnancy test?