If you are young, the common palpitation is sinus arrhythmia, which has nothing to do with it. Many people have it (mainly young people, of course) and do not need treatment. There is also a common premature beat, which can lead to shortness of breath and palpitations.
It is suggested that you do an electrocardiogram immediately when you feel uncomfortable, and look at your heart rate and heart rate. If you can't catch up, you can do a 24-hour dynamic electrocardiogram, which looks very clear.