I had my appointment today

I had my appointment and I measure 21 when I’m due August 10th and I had my period on November 7 my midwife said I could thought it was a period when could be a fake period, I had a negative pregnant test in October . I took two pregnant test in October t came negative. Then November 7th I got my period it last for 7 days like October. I took a pregnant test in December 1st it was positive. Today I had my appointment today heard the heart beat. And I measure at 21 . Have anyone experience this before ?