Pregnancy test

When could I take a pregnancy test and for those of you who have a 30 day cycle when did you get your bfp And when did you ovulate? I had a chemical pregnancy 2 months ago and I got 2 positives but I believe that they were not good because I tested really early and they were blue dye and the rest were negative but I was testing too early due to not really knowing when I ovulated