BFN? lost

I took a test this morning and it was clearly positive to me(clear blue) I have had a few losses and need meds right when I get pregnant so I went to see my de today and the test was negative there. Got home and took another and it was very clearly negative. I'm so confused how I got a false positive.