If you're keyed up with emotion and stress before bed, you're going to have a difficult time falling asleep. You will need to develop some relaxation techniques to slow down your heart rate and reduce your adrenaline levels.
There are various relaxation techniques one can try, such as deep breathing exercises, guided visualization, meditation, and mindfulness exercises.