due date

Hi everyone can anyone help me out my last period was 25th May. I was at the doctors last Wednesday to confirm pregnancy and she said I was 5 and half weeks then. My phone apps are saying I'm only 5 weeks 2 days now. So confused on how far along I am lol