Two ultrasounds are typically performed during pregnancy, but if an unavoidable problem occurs, your doctor may perform other tests and scans. Ultrasounds in pregnancy are a completely safe and painless procedure. The sound waves or insertion of a wand will not affect the fetus.