It really depends on you. It could be one of these two:
You need to remove all sources of stimulation a while before bed, or
Go to bed with headphones on listening to a podcast or rain forest sounds or ASMR knuckle cracking or some bullshit so you can pipe constant stimulation into your brain up until the point you pass out
It really depends on you. It could be one of these two: