If you aren't falling asleep, get up and do something. Either watch TV or I love reading in the dark on a tablet. Take your mind off things. If I just lie there I get more stressed out.
Insomnia is just awful, although mine got a lot better in a few weeks. You should definitely see a doctor. There are more options other than drugs.