Thank you for your question.
Palpitations can be due to heart arrythmias or abnormal heart rhythm.
If you also have episodes of black outs and dizziness
along with these palpitations then this is an emergency and needs as soon as possible visit to the emergency department.
I hope this helps.