@ConfusedAmateur,
If annoying thoughts keeping you awake, Ama, try counting. Some count sheep but the simplest I've heard is provided by Patrick Jane: Try counting breaths; in one out two, in one out two, …..etc. More elaborate system counts higher, stopping at some arbitrary number then switching to alternate series, eg, a,b,c,d….etc; alpha, beta, gamma, delta….; January, February, etc