How early can I take a pregnancy test?

Ruby

I ovulated on the 4th and my period is due on the 18th Dec..