Due dates

Amber
I'm really confused on what to go by. My doctor told me my due date was February 12th based on the baby's size on the sonogram making me 13 weeks and a few days. But today she told me my due date is February 6th basing off my last period. Which would make me almost 15 weeks. Not sure which one to go by to know how far along I actually am. Help!