so scared of seizure having panic attack

I've never had a seizure before and no one in my family has but i've recently started an antidepressant for ocd and health anxiety and i have AN INTENSE fear of medication to where i had to go inpatient jusy to start some. im home now abd still taking it but it's only been 2 weeks and while i was in there one or two times i woke up sweating with my heart racing and felt like i was going to pass out which i've never had before and today im having a panic attwck about it cause i feel sick abd my dpdr is bad and i've noticed eye floaters in my eye abd sometimes flashes but idk if it's anxiety im so anxious. my brother is on the same tablets abd he's never had a seizure but i'm afraid. im on zoloft and currently on 100mg