*provided chronic pain doesn't get me or my dog doesn't decode to wake me up at 3am so I can watch him go to his bed to sleep (brat).
In terms of how I have the great misfortune to inform everyone that a regular routine and sleep hygiene is kind of the crux of it all.
First things first: Choose a bedtime.
This is going to be the time that you're in bed with the lights out and your eyes closed. You are going to make this the same time every day. You can stay up past it here and there, but for the most part, every day you are gonna want to be snuggled up at this time.
Now, what time you choose depends on what time you want to get up for the day. Sleep isn't a singular long block of just one thing happening. It's actually a bunch of 90 minute REM cycles rolling one right after the other that you need to work with in order to not just sleep, but feel rested too. Waking up in the middle of a 90 minute block is going to make you feel like shit and if you're anything like me, will make you feel tired for the rest of the day even if you did get 7+ hours of sleep.
So, what you're going to do is figure out what time you want to be up in the morning (again, you're going to aim for this to be the same every day, though good news you can still chill in bed after this time. It's just the time you have to be awake).
Once you have your wake up time, throw that bitch in a sleep calculator. I like this one since it gives you options to choose from.
Keep in mind you may need to experiment to see how much sleep you, personally, need each night. 8 hours is the average, but averages aren't always helpful on the individual level. What is enough sleep for me may be not enough or too much for you (and too much sleep can actually make you feel just as tired as not enough).
Same goes for how long it takes you to fall asleep, you may need to go to bed earlier if it takes you longer to fall asleep to make sure your alarm isn't waking you up in the middle of a REM cycle.
Okay, with that out of the way, the actual nightly steps I take for going to bed and (again, barring outside stuff) getting a full night of sleep are these: