Pregnant after miscarriage

How do your OB determine your due date if you get pregnant right after a miscarriage?