Post surgery

Hi just had my surgery last Friday big cyst and endometriosis removed not sure what to expect can somebody tell me if it was painful to have sex after surgery?? I know we have to wait 2/4 weeks to have sex and 6months to TTC..