Pregnancy after miscarriage

I miscarried at 6w and was told to wait 2 months before trying again. I was curious as to how many of you had successful pregnancies after a miscarriage? And how long you waited in between? I could really use the positivity. Thanks!