Insomnia is very difficult to manage
1)Avoiding caffeine, green tea or stimulating products prior to sleep.
2)Avoiding exercise too close to bedtime.
3)Using an understanding your circadian rhythm having some early morning and afternoon sun.
4)There is some research to show that possibly blue light or white light from electronic devices could possibly affect your melatonin that may affect your sleep
5)Avoid eating too much late at night