Thank you for your medical query at AskTheDoctor.com
I understand your concern.
You should avoid masturbation/oral sex/ or any kind of sexual activities till 7-10 days of the surgery.
It should not affect in any way, but it is better to avoid since uterine contractions can cause pain.
You can resume after a week.
Hope this was helpful,
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.