First of all, you should look at the problems that have happened rationally, first reduce the negative impact on yourself, confirm right and wrong, and see why friends hurt you!
As for making friends, I suggest you keep a peaceful mind and don't refuse too deliberately. When you find a friend who is suitable for heart-to-heart, you can let nature take its course and let your other good friends get in touch with him. When appropriate, politely ask your friend what he thinks. After all, everyone's eyes are different. Of course, don't be too influenced by their ideas, but you should also analyze them yourself. If this person really has any shortcomings, it doesn't matter much to you.