My so called best friend 😔😭

I've been having some trouble with one of my friends lately and I don't know what to do????? She says she wants to be friends and still wants to be close but she keeps talking so much shit about me behind my back she keeps on saying it to people I'm friends with and they tell me...... a few weeks ago my friend and I had our first fight it was horrible I hated it she said some shot to one of my other friends because we both liked the same guy and she was texting one of my friends in class and told them how I was such a slit and how I try and get in with all the boys, I can't caked it big time at her, I told her we can either figure things out or we can go our seperate ways she said she wanted to sort things out so we did we became friends again I gave her another chance to redeem herself and then she goes and talks shit about me again after she said that she wanted to be friends again, like what a great friend. I've done so much for her but in return I get treated like absolute shit. Yes. She's had a lot of things going on in her life but if she really wanted to be friends with me she wouldn't try and ruin our friendship, if she really wanted to be my friend I think she would try harder, but obviously not. I always seem to get hurt 😭 😭