Can you have orgasms after a C-section?

Is the time after a C-section full pelvic rest for 6 weeks or just nothing in your vagina to prevent infection?

I’ve heard sex can rip the stitches on your uterus if you do it too soon. But will orgasms do the same since it does cause contractions in that area or would it be like the contractions / cramps you get in your uterus when breastfeeding?