Morning thoughts


Hi
Recently I wake up all in anxiety. I have troubles getting up, because during the night just before waking up I had many thoughts that caused me anxiety.
How could I work with these thoughts, if they appear when I am not conscious (asleep)?