I had a d&c (so it may be slightly different for a natural miscarriage), but I was told at discharge to wait 2-3 weeks. We waited about 2.5 weeks. Personally, I would give it at least several days to a week after any bleeding/spotting stops just to make sure all is okay. I had just spotting about 6 days after and thought it was stopping and then suddenly had a very heavy bleed almost out of nowhere (like gushing and clots for about 2 hours), and then a few more days of bleeding and then spotting after that. It all finally stopped just shy of 2 weeks. But also just listen to your body and generally how you're feeling. I found it much more emotional than I expected it would be, even though I felt well and ready.