A pregnancy ultrasound may be done during the first 12 weeks of pregnancy to: 1  Confirm a normal pregnancy. 2  Determine the baby's age.  Look for problems, such as ectopic pregnancies or the chances for a miscarriage.