How to deal with a 'midlife crisis'