This is partially a self inflicted one I’m afraid. I’ve struggled with this a lot but sleep hygene and working on moments of mindfulness throughout the day help a lot.
Basically give yourself time to go through the thoughts and emotions before it’s time to sleep.
Ofc the overly stimulating modern society and work demands are much harder to combat.
As he lies out out for all to see:

Sometimes when I wake up early in the morning, I’ll take my adhd meds (which I don’t take most days) and go back to sleep.
The stimulants quiet the thoughts enough for peaceful rest. Coffee does the same but its part of my routine so usually that ends up with a nap instead
I find myself not thinking every thought, but instead the same thoughts, over and over, in the same sequence. I think Dickens captured it well:
Scrooge went to bed again, and thought, and thought, and thought it over and over, and could make nothing of it. The more he thought, the more perplexed he was; and, the more he endeavoured not to think, the more he thought.
Marley’s Ghost bothered him exceedingly. Every time he resolved within himself, after mature inquiry, that it was all a dream, his mind flew back again, like a strong spring released, to its first position, and presented the same problem to be worked all through, ‘Was it a dream or not?’



