Anyone who's had a medication induced misscarriage

I took the medication the dr prescribed to move the misscarriage along last night 😞(misoprostol or Cytotek)and it was absolutely the most painful experience of my life.  I ended up fainting because the pain was so bad. Finally we went to the ER and oxycodone helped a little. 
If you had this medication prescribed to you what was your experience with it?