The nervous system is controlling your heart beats. If you did not sleep enough then your hormones are out of balance, the nervous system becomes out of balance. Your heart rate can become irregular. Acupuncture can help balancing your hormones and nervous system so that your heart beats can become regular after the stress is reduced. But you do need to have sufficient sleep and not too many stimulants to maintain healthy heart beats.