How to cut energy ties with people?

Hello everyone, An important question, I recently hooked up with this guy that I had no idea he did porn. And I have been feeling so down and so idk. And I know that everyone carries a little peace of energy with who they have had sex with, and I’m here wondering how much energy I exchange with him. Any ritual you guys recommend? Anything I can try to cut whatever energy I exchange ?