I am dealing with anxiety and for a few years took ambien until i made the decision to stop using it or any similar medication at all. I don't drink alcohol often, i run every day, i like to eat as healthy as i can and it helps. But once in bed, i have to focus really hard on something (like engines, music or motor oil lol) until i fall asleep before the negative thoughts arrive. For the last months, i'd say i'm awake or barely sleeping a night out of two, no matter how physically tired i am. I am aware that the best way to fix this would be to fix everything that's wrong in my life at the moment and learn how to cope with stupidity and negativity. Since sleep might be a problem at some point in one's life, i guess everyone has little tips that can help!