I got it too. Best thing is to read or watch something boring and try NOT to fall asleep. I can doze off watching TV on the couch and by the time I get up and get in bed, I am wide awake. Lots of physical activity helps too. I wish I could turn my mind off myself.
Type 6w5 sp/so/sx I think..I have not fully explored this and just discovered it.
I feel as though my mind never shuts off. I'm constantly thinking and it's extremely annoying. I find that watching a show on Netflix, or reading a book I've read over and over, or studying in bed helps me fall asleep a bit quicker. Sometimes though I resort to Nyquil. I've dealt with insomnia for a couple years now and I have yet to find anything that really helps me get to sleep, let alone stay asleep. :\
I make sure not to eat or drink [anything but water] after dinner anymore.
When it's really bad, and my thoughts are what is keeping me up, I do a relaxation exercise -
Make your bedroom as dark and silent as possible.
Lie in your bed on your back, limbs spread as far apart as comfortable.
Tense up all your muscles simultaneously - focus on that tension. Hold yourself this way and count slowly to 100.
Slowly allow one at a time to relax, starting with each finger, hand, forearm, and so on until your entire body is totally relaxed. Focus on how relaxed you feel while you count backwards from 100.
If anything, it distracts me from whatever I was thinking, having to pay attention to myself, physically, which often serves as a reminder of just how exhausted I am enough to get to sleep.
I have problems with it, too. I truly wish I could shut my mind off sometimes. It seems like when I stop moving, it becomes more active than ever.
Sometimes telling myself boring stories helps.
If you want to use herbs, valerian helps (be warned--it's super nasty). Skullcap, chamomile, and lemon balm are really good, too. You'd have to get the skullcap in a tincture--the other two can be taken as infusions.