An ovarian cyst is diagnosed by pelvic examination and an ultrasound scan is done to confirm the cyst.