When is it advised to have a breast ultrasound as opposed to a mammogram?

Women aged younger than 35 would be a good example for having an ultrasound but routine screening on women over 40 must include a mammogram for proper diagnosis. Pregnant women also would have only an ultrasound due to the radiation safety of this form of imaging.