Anyone had laporoscopy?

Can you have sex before you op like even night before ? Iv searched the net but only speaks of sex after