The National Sleep Foundation says technology before bed hurts your quality of sleep. Here is a guide from How To Sleep that shares some insights on what causes it, the different kinds of insomnia, and its effects on health and wellbeing. It also offers some advice for managing insomnia effectively with stress management and relaxation techniques, proper diet and exercise, a good sleeping environment, CBT, and mindfulness meditation. Check out this comprehensive guide on Insomnia.
https://howtosleep.co.uk/guides/the-complete-guide-to-insomnia