Getting enough sleep is important at any age, but especially during midlife (the recommended amount is seven to nine hours of sleep a night). Poor sleep is associated with increased risk of coronary heart disease, osteoporosis, and decreased cognitive function. Plus, a lack of sleep can worsen other menopause symptoms—hot flashes, brain fog, moodiness and weight gain, for starters.