You have admitted that you have a problem of anxiety
is acute and probably in reaction to the anxiety problem. So what you should do is that go a psychiatrist
and take some help. Your insomnia is a consequence and it will resolve with your anxiety problem.