You can take steps to prevent palpitations. Try to avoid things that trigger them. For example:
- Reduce anxiety and stress. Anxiety and stress (including panic attacks) are a common cause of harmless palpitations. Relaxation exercises, yoga or tai chi, biofeedback or guided imagery, or aromatherapy may help you relax.
- Avoid or limit stimulants, such as caffeine, nicotine, or alcohol.
- Avoid illegal drugs, such as cocaine and amphetamines.
- Avoid medicines that act as stimulants, such as cough and cold medicines and some herbal and nutritional supplements.
Also, work with your doctor to treat medical conditions that can cause palpitations.