Trying again for baby

I had an early miscarriage at 2 weeks and called the doctor and they suggested waiting 3 months before trying again. Is this really true? what is everyone experience?