how long ???

So exactly how long do you wait after a missed period , to take a pregnancy test??