Pregnant right after miscarriage

Adiba
Hello...did any of you get pregnant right after a miscarriage? 
If so, how soon after your bleeding stopped did you have sex?