Peta N.
I don’t know how you can get rid of these thoughts but I have an advice. Try to focus on your breath as hard as possible. If it doesn’t work, try thinking of positive things or beautiful landscapes maybe it can help you fall asleep. I hope I could help. 🙂