The causes of fast heart rate with poor sleep are overwork, insomnia, and arrhythmia. You can make self-adjustment, take medication and so on.
1. Excessive fatigue: If you have been under too much pressure lately and often stay up late, you are prone to excessive fatigue, which leads to neurological dysfunction and causes this symptom, which can be improved after resting, and you should ensure a good work and rest schedule and avoid staying up late at night.
2. Insomnia: poor sleep may be caused by insomnia, you can take drugs, such as zopiclone, zolpidem, oxazepam and so on. Psychotherapy is also available to adjust sleep cognition and behavior.
3. Arrhythmia: Tachyarrhythmia can trigger a rapid heart rate and can be treated with metoprolol.
Medications should be used under the guidance of a physician. If the condition does not improve after rest, you should seek medical advice.