“The most important advice I can give people who are struggling with sleep, or want to get good-quality sleep, is to keep it regular,” says Matthew Walker, a professor of neuroscience at the University of California and the author of Why We Sleep.

Do you wake up to the sound of birdsong or an electronic ringtone? Perhaps you use a dawn simulator or an app that won’t stop beeping until you have w(...)