Some lifestyle changes may prevent arrhythmia:
Eat a low-fat, well balanced diet.
Exercise on a regular basis.
Quit smoking and tobacco use.
Avoid or reduce caffeine and alcohol intake.
Avoid using any illicit drugs.
Reduce anxiety and stress to reduce the intensity or frequency of palpitations.
Deep breathing, yoga and meditation relax your body.
Check the ingredients in herbal medicines and supplements you are taking if they contain caffeine or substances that can induce palpitations.