Lost depressed

I don’t know what to do I’m all alone no friends this is the only app I can come to I’ve lost my only friend last week simply because I told her about how I feel about her sleeping around guys homes to be single it’s like no matter what I do or say I’m always the wrong person I’ve always forgave and did everything for these people they’ve done me wrong used me and I still stuck around but the moment I say something I’m wrong and now I go no one I’m really depressed I don’t know what to do.what am I doing wrong when all I want is to be loved and cared for.