How long before you take a pregnancy test ??

How long before you take a pregnancy test ??