Whenever your heart starts to race, just inhale big a few times holding in at every inhale, and it will make you more relaxed and cause your heart rate to decrease.