I meditate. Very occasionally, I still am not ready to sleep, but it still helps me to do that.
I listen to a podcast, if nothing else works.
Mostly, I don't worry about not sleeping. It took me years to feel OK with not sleeping, but here I am.
Peace.