Did you require cervical stitching to prevent a miscarriage/preterm labour? Then sex might not be a good idea, because semen causes womb contraction, and you also don’t want infections/physical trauma to the stitches. Best to check with your gynae for advice