First of all, you had sex with him while he was still kind of with her? Where is your self respect??? And how old are you? You sound like you're no more than 16 or so.
Second, you need to back the hell off from that guy. He still clearly has some kind of feelings for that girl, otherwise they...