Ovarian cancer Patients may not have had any prior systemic therapy =< days prior to registration for treatment of ovarian cancer Part : Ovarian or HNSCC, with confirmed p mutations For the dose expansion cohort, patients with recurrent endometrial cancer, recurrent BRCA mutated ovarian cancer (except first-recurrence platinum sensitive ovarian cancer), and platinum resistant ovarian cancer are eligible Ovarian cancer of serous histology Ovarian cancer cohort only: Subjects must have high-grade non-mucinous histology (carcinosarcomas are allowed). Patients with platinum resistant ovarian cancer must have progressed through at least one prior chemotherapy regimen for recurrent ovarian cancer History of blocked intestines because of ovarian cancer, unless fully resolved. Treatment with cytotoxic chemotherapy for malignancies other than ovarian cancer within the past years gBRCAm ovarian cancer (modules and ) gBRCAm negative ovarian cancer (modules and ) Subjects with ovarian and endometrial cancer (endometrial cancer only in the expansion cohort) with: Subjects with comorbidities that would limit their two year survival for reasons other than ovarian cancer EXCLUSION CRITERIA FOR REGISTRATION: subjects with comorbidities which would lead to a clinical expectation that they will not survive two years for reasons other than ovarian cancer Any prior treatment for ovarian cancer, other than the first-line platinum regimen Previous chemotherapy or hormonal therapy for treatment of ovarian cancer. Histopathologic documentation (must be performed or reviewed at MD Anderson) of recurrent high grade epithelial ovarian cancer. Participants must have primary or secondary platinum-resistant ovarian cancer. Diagnosis of clear cell or low grade ovarian cancer Patient has mucinous or clear cell subtypes of epithelial ovarian cancer, carcinosarcoma or undifferentiated ovarian cancer Phase expansion: Ovarian cancer Phase patients (breast or ovarian cancer) Phase patients (breast or ovarian cancer) Ovarian Cancer Patients must have received at least one prior salvage regimen for recurrent ovarian cancer Prior therapy for ovarian or uterine cancer with ribociclib or an aromatase inhibitor (letrozole, anastrozole or exemestane) Previous treatment with > anticancer regimens for ovarian cancer Has epithelial ovarian cancer (EOC) with mucinous histology subtype Ovarian cancer confirmed BRCA wild-type from a prior test. Prior diagnosis of Stage IV ovarian cancer; Stage III ovarian cancer must have a -year disease-free interval; Stage II ovarian cancer must have a -year disease-free interval Ovarian Carcinoma More than prior lines of cytotoxic chemotherapy for ovarian cancer. Metastatic ovarian epithelial cancer that are platinum-resistant, and has no better option available in the investigator's opinion Part includes target expressing NSCLC, ovarian or breast cancer patients Not more than two prior chemotherapy regimens for the treatment of platinum-resistant ovarian cancer Participants with Pancreatic Cancer: Epithelial ovarian cancer or gynecological cancer Less than weeks since last treatment for ovarian cancer Breast cancer in BRCA or BRACA positive ovarian cancer patients For ovarian cancer participants only, platinum treatment with more than two platinum-based chemotherapy regiments or more than four anti-cancer regimens, overall, for the treatment of ovarian cancer. Non-epithelial ovarian cancer or metastatic cancer to the ovaries Presumed early stage ovarian cancer Patients with borderline ovarian tumors, recurrent epithelial ovarian or primary peritoneal cancer or non-epithelial ovarian cancer are not eligible PATIENTS: Platinum-sensitive recurrent ovarian cancer without a significant clinical event Desires to undergo ovarian stimulation and oocyte retrieval prior to cancer treatment Does not plan to undergo ovarian stimulation and oocyte retrieval prior to diagnosis Prior genetic counseling or testing for hereditary breast/ovarian cancer Any condition which might be worsened by estrogen, such as breast cancer, uterine cancer, ovarian cancer, endometriosis or uterine fibroids Women with a history of leukemia, ovarian cancer or a cancer that likely involve the ovaries at the time of ovarian tissue collection Have blood relatives diagnosed with ovarian cancer Have or more family members on the same side of the family with breast, ovarian, pancreatic, or prostate cancer Individuals who have a personal history of hereditary breast or ovarian cancer\r\n* A subset of women without a personal history of hereditary or ovarian cancer will be included in an exploratory subset analysis Ongoing treatment for ovarian or other cancer (e.g., chemotherapy, radiation, surgery, etc.) Confirmed diagnosis of primary breast, cervical, endometrial, or ovarian cancer Pilot: Ovarian cancer patients who have completed cancer treatment ovarian cancer: - prior treatments Diagnosis of clear cell or low grade ovarian cancer Patients with recurrent ovarian cancer receiving chemotherapy Have one relative with ovarian cancer Personal history of ovarian cancer Active malignancy other than ovarian cancer No measurable disease or suspected stage I or II ovarian cancer on preoperative imaging Patients with prior ovarian cancer or surgery involving removal of one or both ovaries History of ovarian cancer Ovarian cancer: Willingness to return to the enrolling site for ovarian cancer screening during the study period Patients must have breast or ovarian cancer Women must be enrolled in the Ovarian Cancer Screening Program (OCSP); eligibility criteria for the OCSP are: years of age or older, or be postmenopausal and have not had a prior salpingo-oophorectomy or have a family history of ovarian cancer in a primary relative or have a self-history of breast cancer Patients have a documented ovarian abnormality on ultrasound History of ovarian cancer No prior treatment for ovarian cancer Patients who have non-invasive or non-epithelial ovarian cancer on pathological confirmation; patients with synchronous stage I endometrial cancer will not be excluded Patients must be undergoing ovarian resection OVARIAN CANCER PARTICIPANTS: Participant has suspected or biopsy proven ovarian cancer and is scheduled to undergo surgical excision of the cancerous lesion(s) OR\r\n* Participant has biopsy proven ovarian cancer but is not a surgical candidate OVARIAN CANCER PARTICIPANTS: Patient is able to remain still for duration of each imaging procedure Epithelial ovarian cancer which is contained within the abdomen, but may include pleural effusion if that is the limit of non-peritoneal cavity disease. If subject has recurrent epithelial ovarian cancer, the disease must be platinum sensitive (recurrence > months from prior chemotherapy regimen that included a platinum agent and cytoreductive surgery) Non-epithelial ovarian cancer or metastatic cancer from another site to the ovaries Female patients years of age and older . Have a primary diagnosis, or at high clinical suspicion, of primary ovarian cancer (of epithelial type), planned for primary surgical cytoreduction, interval debulking, or have recurrent ovarian cancer surgery, and: Evaluable disease by serum markers in the case of ovarian cancer [Gynecologic Cancer Intergroup (GCIG) specific criteria]; and Known FR alpha-negative ovarian cancer