Hi.. Heart rate variations occur due to physiological conditions. They could just be because of anxiety and stress.. Check your pulse when you are resting.. You can ask some one else to check for it when you go to sleep.. If this resting pulse is high, then you may need to consult a doctor..