If you can’t stop your stream of thoughts at night, get up and write them down. This will set your mind at ease so you can sleep.