If you fixate on your worries before you fall asleep, you might find yourself getting anxious. Sleep may elude you. Instead, try thinking about the good things that happened to you during your day. Focusing on the positives, not the negatives, may help you unwind. And that may help you get to sleep and sleep better.
If you can’t stop thinking about your worries before going to bed, write them all down. Then set that list aside, along with a pledge to deal with your worries in the morning. This may help you shift your thoughts from your worries to the good things that happened today.