The thing I've found works to calm me down when I'm trying to sleep is to take a series of deep breaths. Long and slow in and out, but not awkwardly so. Usually on about the 5th breath the nature of it changes quite a bit and I can feel the tension drain out of me. From there, falling asleep is usually not far off.