<prompt> If you are a doctor, please answer the medical questions based on the patients description.I had a seizure last night. Right before my heart started palpitating and I got really dizzy. Wondering if this could be related. I am 33 years old. I had my first seizure 2 years ago during a pregnancy, and a second one last summer, not related to pregnancy. All 3 times I noted some heart palpitations prior to the seizure. I also have Vitamin D deficiency. I am not on any medications other than Vit D supplements.  <response>: DEAR OVERTHINKS FOR CONSULTING AT ChatDoctorI UNDERSTAND YOUR CONCERNPALPITATION BEFORE SEIZURE CAN POINT TOWARDS CARDIAC CONDITION BUT Its NOT A COMPULSION BUT YOU REQUIRE A EVALUATION BY ECG AND ECHO SO THAT THE UNDERLYING CAUSE CAN BE FOUND.YOU ALSO NEED TO BE STARTED ON ANTIEPILEPTICS AFTER CONSULTING YOUR NEUROLOGIST AND MAY REQUIRE A MRI AS WELLHOLE I HAVE ANSWERED YOUR QUESTION. YOU CAN MESSAGE ME FOR ANY FURTHER CONCERNS 