Too many variables. If it is carcinoma in-situ, it may be treated without any effect on the baby. If the cancer is advanced, there would be a conflict about waiting to treat you versus delivering the baby prematurely. It is best discussed with your doctor who should have more information about your health status. In general, cancer in the mother does not affect her fetus, with very rare exceptions.