Sadly for some people this can be an ongoing issue. Chronic insomnia has been linked to stress, anxiety and depression (amongst other things). And unfortunately it can become a vicious circle as the more sleep deprived you are, the worse your symptoms of stress, anxiety and depression can become.
My own sleep patterns usually become disrupted if I am feeling stressed or anxious. And I have tried lots of things over the years to help with this. Here are some recommendations that may help improve your symptoms of insomnia.