Ruined Relationships & Drama

I kissed my best friend while I was talking to one of his mates and he had a girlfriend. 
My best mate then left his girlfriend and we had sex and have no developed feelings for each other. 
I have no idea what to do.