This happens in the second trimester. I'm pretty sure that's the right answer. I hope it helps!
Try sleeping in dark quiet room that you are comfortable in. You can also play relaxing type of music such as calm music or nature sounds to help improve sleep. Just relax, and free your mind.
Hope this helps!
<em>~ ShadowXReaper069</em>
I mean, find what you want to work on when feeling mentally unstable. I guess just make a goal to what you want to achieve when doing this.