Detox can present something of a catch-22. On the one hand, individuals who come to detox often have other problems with their health, such as poor nutrition or poor sleeping habits. At the same time, the rigors of detox mean that individuals need all the strength and energy they can get—so establishing healthy habits is an immediate priority.

Take sleep. Getting plenty of rest is a must for those who are preparing for the work of addiction recovery. Yet many who come to Beach City Detox struggle with sleeping disorders.

Here are just some of the things you can do to get sleeping patterns back on track, even while pursuing detox and addiction recovery.

Have a Sleep schedule. It’s best to go to bed at the same time every night, and to wake up at the same time the next morning. It doesn’t take long for this consistency to turn into a true rhythm for your body, one that will make it much easier to fall asleep on time.

Do something relaxing before bed. A bath, some gentle yoga, reading, journaling—anything that helps you decompress is going to be helpful.

Remove blue lights from your bedroom. The light that emanates from your phone, tablet, or computer can actually interfere with your body’s natural rhythms. Turn off your device at least an hour before you go to sleep.

Be mindful of caffeine intake. Ideally, don’t have any coffee, soda, or tea after noon.

Exercise during the day. Even a little bit of physical exertion can help prepare your body for rest later on.

These are just some of the ways you can develop healthier sleep patterns—and in doing so, you’ll be setting yourself up for success in detox, addiction recovery, and beyond.