Pregnancy after m/c

How fast can you get pregnant after mc. My dr said wait until after your first cycle to try again I had it 3 weeks ago just wondering.