If you can't sleep and you're getting racing thoughts, and possiblly psychotic thoughts. you may be bipolar. That's how it all started with me and I've just been recently diagnosed. You may need something in the valium family, like adivan or klonopin.