How long??

How long did you wait after having sex OR missing your period to take a pregnancy test?