Help me plz

So I met this guy at a party, well I didn’t meet him I Knew who he was but we didn’t really talk and I was so drunk and then kissed and slept together (not sex) and it was amazing, the next day I realised that it was a bad idea as he is two years older than me and he talked to my mates before. My mates found out and the got pissed we are good now but he text me saying he liked me and I liked him and we secretly started talking and Ik it’s a bad idea and he said if anyone found out he would be dead and so would I he ended things and said that maby In the future this really hurt cuz I like him so much and I don’t know what to do and i cant get over him