Sex during and after egg retrieval

So a friend who recently did it , said no sex. I’m currently in stims. Haven’t had sex but can you??

And when can you after retrieval?