I had to stop taking clomid

I’m so bummed I had to stop taking it because of the side effects...😠 it made my heart RACE and I had the shakes I almost called the ambulance...my question is...the couple days I did use it, do you think could have done the trick?