Perimenopause often begins in your 40s and can bring irregular periods, hot flashes, poor sleep, mood changes and brain fog. Guides to symptoms, timing and what to ask your doctor.