Good sleep habits can help prevent insomnia and promote sound sleep: Keep your bedtime and wake time consistent from day to day, including weekends. Stay active — regular activity helps promote a good night's sleep. Check your medications to see if they may contribute to insomnia.