An ultrasound is recommended shortly after receiving a positive pregnancy test. Through an ultrasound, you can learn several important things about a pregnancy, including gestational age and the viability of the pregnancy.