Please help.

Hi all,  
I basically had a misscarrage  at 5 weeks, on the 8th of May  lasted for one week. So on the 15th of May I was clean. (Or at least I thought I was)  on the 23rd I went to see my husband as he works in another city and we made love etc however I later found I started spotting, didn't last long just on the tissue. I also had very bad cramps that latest 20 mins for so, We did it again then next day and it was fine. But on my final day I went to the doctors and he checked me said my cervix was closed and I was fine done a smear test and sent me home.  So then we made love again before I left to come back home and i bleed again but this time it was on the bed sheets again the bleeding didn't last long just for 1 hour and it was not heavy. 
(I feel like I'm ovulating but I'm confused as to my I'm bleeding during intercourse it's never happened to me) this was also my first miscarriage.  
Please advice me... Has anyone else been through this.