After waking up from a dream, your heart rate index is not as fast as you said (5 beats/sec =300 beats/min, which is completely beyond the physiological range of your body), so it is not your physiological factor.
Chest depression, rapid heartbeat. Explaining recent events makes you feel stressed and even anxious.
It is suggested to vent well, do more exercise, communicate with friends and express your troubles. Gradually, you will gradually forget the pain in life.