C section scar defect causing infertility

How long after a hysteroscopy to remove a c section scar defect can you get pregnant?