@dg64364906 , that happens to a lot of us. You are not alone. The hard thing is to keep your mind from the worrying, planning or whatever you can't shut off. That is hard to do and different for everyone. That is why the long heard term of "counting sheep". That has been around a long time. Something to take your mind off of things to fall asleep. You need to think/imagine something that doesn't bring on or trigger the emotions or bothersome things to bear. Hard as it is.
Some use rain sound machines, music, some may still count sheep and there are many things to use for that effect. I sometimes imagine playing with a slinky. Then picture it going down a set of stairs (was always cool looking), Just about anything that is calming and not important enough to worry about to let the mind go and relax.
Though hard to do, it is a few small suggestions that might help you concentrate on something other than your worrisome thoughts enough to let go and stay asleep or get back to sleep.
Good luck with it and hope you get some rest.