I work nights. What I do is have black out curtains in my room. Turn on a fan for background noise and drink a glass of warm milk with a Melatonin just before bed. I don’t drink any caffeine at least 4 hours before the end of my shift. I find with all these I am able to sleep.