One way to ensure you get enough sleep while working from home is to establish a consistent sleep schedule. This includes going to bed and waking up at the same time every day, even on weekends. It's also helpful to create a relaxing bedtime routine, such as reading or taking a warm bath. Another tip is to avoid screens for at least an hour before bedtime and creating a dark, cool, and quiet environment for sleeping.