Messed up

A few days ago I had sex with a guy that’s been my friend for years. The problem with this situation he’s with someone else and I had a thing with a guy. I felt horrible afterwards so I told the guy I was having a thing with. He got mad (which was expected). But he doesn’t want to talk anymore. Is there anything I can do?