Medical conditions including endometriosis or cancer are sometimes confused with perimenopause in midlife women because they can alter your menstrual cycle.