my best friend fucked my boyfriend

so basically my friend fucked my boyfriend and i am stressed but idk what to do like i want things to work but like also he is fucking selfish he is always saying “ i this “ and i that like wtf i need to do something because i can’t keep feeling this way i do what to do i wanna die inside i feel sick to my stomach i wanna cry