human
I've been having a lot of trouble sleeping lately. What are the best ways to get a good night's sleep?
assistant
The best way to get a good night’s sleep is to establish and maintain a consistent bedtime routine. This includes setting aside some time each day for winding down, avoiding caffeine late in the day, and creating a relaxing environment that you associate with sleep. Additionally, try to limit your exposure to bright screens before bed, as blue light from these devices can disrupt your circadian rhythm. Finally, make sure to exercise regularly but not too close to bedtime, as this can also affect your sleep quality.