Miscarriage & conception

I recently had a. Miscarriage , and have not had af yet my doctor informed me that I can get pregnant quick even after miscarriage  without having af , due to my cervix being dilated  but how long after your miscarriage did you fall pregnant