If you had a spontaneous miscarriage
without any prolonged
bleeding, you will ovulate within two to four weeks after the
miscarriage. Most miscarriages are complete, and if you did not have any infection symptoms (fever, discharge, excessive bleeding) after your pregnancy loss, it should not affect your attempts at becoming pregnant at all.
The return of your normal cycles, and hence your chances of pregnancy, depend a lot on how far along you were when the miscarriage took place.