Similar/Related: If you are trying to fall asleep, and you mind is filled with thoughts, a solutions is to count (does not need to be sheep just count numbers). Counting distracts and occupies your mind from being distracted with whatever your anxiety (or excitement) thoughts are. (Source: It works for me). Anything can really be substituted for counting as long as it's not exciting or anxiety producing.