6 habits that increase the risk of heart arrhythmia VnExpress Staying up late, prolonged stress, excessive coffee consumption, and a lack of minerals like potassium and magnesium can lead to a rapid heartbeat or arrhythmia.