Ultrasound of the pelvis may also be needed to determine the location and the size of ovarian cysts.