Has anyone try to have a baby after a miscarriage and had issues because for trying too soon ?

My doctor said it wait 2 cycles but people keep telling me thar there’s no need to wait