Avoid TV/computers an hour before going to bed, start meditating.

Meditation will help you get control over your thoughts.