Inserting medication ?

Dee
I passed the fetus last Friday (I was 10weeks) and yesterday's ultra sound showed I have a small piece left inside me that needs to pass.  Ob prescribed me medication to take in 4 doses in 24 hours.  In hopes my next ultra sound will show it's all gone so I don't need a d and c.
I had a mc in feb at 5 weeks but everything passed within days on it's own.
Those who had to insert the pills, how much pain should I expect. She did give me pain killers as well.  I didn't experience any pain/cramps with either miscarriage.