We all try our hardest to make good lifestyle changes to improve our homes and give our family members a good life. Unfortunately, there are some bad habits we pick up that affect us in unexpected ways. If you or someone in your family has been struggling to get some sleep, you may be surprised at what’s causing the problem. Learn more about common sleep issues and read on for more information about what might fix them.

Cellphones, tablets, laptops, televisions, and all other screens in our homes are essential tools for work and play. But screen time has a detrimental effect on sleep quality. Humans are intended to wake up and fall asleep according to the natural rotation of the sun. Too much artificial light can unbalance this natural pattern.

Moreover, blue LED lights — which are used in our TVs, smartphones, and other screens — suppress our natural melatonin production. This can lead to sleep loss, especially if you look at screens before bedtime. To improve your sleep, institute a new rule in your home: No looking at screens for at least 30 minutes before bedtime.

Another major source of poor sleep is indoor air quality. Even if you make some changes to your screen habits, poor indoor air quality can lead to sleep disorders like apnea. Change your HVAC filters every one to three months, and schedule repair services if needed to keep the air clean in your home. You may be impressed at home much of a difference these adjustments make. This infographic shows what you can do to sleep better tonight.