So confused

I took a pregnancy test on Sunday and it was positive. Took another Tuesday just to be sure and it was positive as well. AF was due Monday. Then this afternoon I had major cramping and AF came...or that's what I assume it is. Were they false positives?