Can I exercise when I have heart palpitations?

It mainly depends on the specific cause of the panic.
If the panic is caused by arrhythmia, it is temporarily not recommended to exercise with too much intensity, mainly to stretch.
If the panic is caused by anxiety, emotional tension and other emotional factors, jogging, swimming and other sports, not only can divert attention and relieve emotions, but also can enhance physical fitness.