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.
