I’d focus on what’s causing the thoughts to race through your head. Could be a sign of anxiety, adhd or one of those disorders.
I’d really focus on turning off electronics and heading to bed early. Write out all your thoughts on paper and relax before you go to bed.
I take something called gaba which helps a lot.