take a test

We have been ttc for 6 months!
This month I started to discharge old blood 4 days before my period (this lasted roughly 3 days) with no normal period when can I take a test??!