I've never been good at sleeping, but the past couple years have been quite the struggle.
But to keep this short, one thing I do is to play audiobooks or podcasts to fall asleep. The trick is to get something interesting enough to capture my attention, but not so interesting or thought provoking as to cause me to want to stay up and listen to it.
But my best suggestion would be to bookend your days. I have a morning and an evening routine that helps. In the morning I try to get some exercise and meditation in before checking email or doing anything to engage with the day. In the evening, I write a journal and plan my next day. This really helps to get things out of my head and I know that I have a plan to handle what I need to the next day. Then I get ready for bed, meditate for another 10 minutes, turn on my podcast and turn out the lights.
Other little things: I have an orange light in the lamp by my bed, a nightlight in the bathroom, and a motion activated night light in my bedroom. This allows me to not turn on any lights or expose myself to any bright light during those middle of the night pit stops.