A recent study found that procrastination affects not only our daily activities, but also our sleep patterns and, as a result, our health. Scientists from Utrecht University in the Netherlands surveyed 177 men and women about their sleep habits, lifestyles and procrastination levels.

Their findings, published in Frontiers in Psychology, suggest that “bedtime procrastination” is a more widespread, harmful problem than anyone thought.

Sleep procrastination is characterized by a person’s failure to go to bed at the intended time, even though no external circumstances prevent them from doing so. Even after one night, it “can lead to decreased cognitive function, trouble concentrating, headaches and general moodiness,” says Dr. M. Safwan Badr, former president of the American Academy of Sleep Medicine (AASM).

Because even a single night of sleep procrastination can seriously affect your ability to function, it’s important to eliminate activities and distractions that can keep you up or tossing and turning through the wee hours.

So, how can we avoid sleep procrastination and the issues it could cause? Here are four tips to help you go to bed on time:

1. Keep Your Eyes Off Screens

When scientists researched the sleep habits of current pre-industrial societies living in Africa and Bolivia, they found that nearly no one suffered from insomnia. In fact, they found that the people in these cultures nearly never napped or set any sort of designated sleep schedule. And although there are probably many reasons for this, one is likely that there are less technological distractions available to pre-industrial peoples.

Research shows being on screens-whether it’s a TV, phone or tablet-before bed can negatively affect sleep. Watching exciting programs before bed may cause you to “stay up longer, and be more engaged, than is ideal for [your] schedule,” suggests Dr. Badr. Combine an overstimulated brain with light and volume variations and you have a recipe for sleepless nights.

Keep Your Eyes Off Screens to Avoid Sleep Procrastination

Another issue impacting sleep: the ease of streaming. The auto-play feature of streaming services like Hulu, Netflix and Amazon Prime can be very unhealthy when it comes to prioritizing rest. Binge-watching your favorite show can be a great way to spend a rainy Saturday, but it should be avoided before bedtime.

The solve? Dr. Badr suggests using your bed for sleeping only, meaning leave the technology at the door. Even better, do your best to avoid looking at any screens for at least 90 minutes before going to bed. Trade in your Kindle or iPad for a real book while you’re in bed to sleep more restfully through the night. Avoid “watching TV late at night so you have enough time to conduct a wind-down routine… that doesn’t involve any screens.”

Tip: If you’re an avid TV-streamer before bed, disable auto-play to make sure you’ll get to sleep on time.

2. Set a Routine

Dr. Badr notes that over the long-term, “sleep deprivation can result in significant impairments in cognitive and motor performance,” which increase the risk of automobile, work-related and fatal accidents. Building a wind-down routine for the hours before you go to bed can help you avoid sleep deprivation and the bad habits that cause it.

Select a time at which you’ll go to bed every night and create a routine for how you’ll spend your last hour before bed. Make sure the activities you “schedule” relate to sleeping and help you wind down. This can be anything from journaling to stretching to taking your time brushing your teeth and washing your face.

Set a Routine to Avoid Bedtime Procrastination

For a truly effective sleep routine, Dr. Badr suggests keeping “a regular sleep schedule, as you would for your child,” and “making your bedroom quiet, dark and a little bit cool” before bed.

3. Get a Real Alarm Clock

Yes, the one on your phone works, but having your phone next to your bed might entice you to check one more message or answer one more email. This can stimulate your brain and keep you awake longer. If you need to use your phone as an alarm, says Dr. Badr, “keep the phone beyond arms reach” to help you avoid the urge to check email or browse apps.

Get a Real Alarm Clock to Avoid Sleep Procrastination

4. Practice Mindfulness

It’s easy to get caught up in the chaos of daily life, especially as we hit the sheets for the night. But making a habit of practicing gratitude can help train our brains to notice the positive rather than focusing on the negative aspects of life, right as we drift to sleep.

Feeling gratitude on a regular basis can not only lead to a better night’s sleep, but also boost immunity and reduce risk for depression and anxiety, according to the Mayo Clinic. Taking time to be grateful may also lower the risk for disease and help ease chronic pain.

To get started on your gratitude practice, all you need is a spiral notebook and a few minutes in the evening. Write down five to 10 specific things you’re grateful for. Your gratitude list might include items small or large, such as “I’m grateful that the sun was shining today,” “I’m grateful for my good health,” or “My coffee this morning delicious.”

Woman Practices Meditation and Mindfulness to Avoid Sleep Procrastination