First of all, you should realize that you are willing to analyze yourself and share yourself online. You are braver than many people.
In my humble opinion, what you need is not necessarily a way to relieve stress, but a way to enhance self-confidence and self-affirmation.
Remember: there are very few people in this world who can determine the direction and goal of their future efforts at once, and most of them have become leaders in various industries, but most of them are just ordinary people like you and me. There is no need to force themselves to have clear long-term goals, and it is not necessarily a bad thing to muddle along appropriately.
I suggest you start with short-term goals. As a student, what kind of school do you want to go to, what kind of major do you want to study in the future, and explore your interests. You know, without hobbies, it is difficult to talk about future persistence. If you are still confused, keep this confusion first. When you really need to choose, your brain will naturally give you the most authentic intention feedback.
Specify short-term goals for your daily life and study, which you can easily achieve at first. At this time, please don't forget, you must affirm and praise yourself, and gradually upgrade to the point where you can't reach it so easily. Practice hard and praise yourself when you reach your goal. If you don't finish it, tell yourself that you must work hard next time, but don't blame yourself. We just follow the inertia that will exist in human bones. The word effort is already our resistance to nature.
As for making friends, I'm a social freak, but I used to be a social phobia patient and I was too afraid to talk. Here, I don't suggest that you make friends by force, but slowly contact and make friends, and try to join yourself when chatting with friends around you. Sometimes a nod and a smile are enough. Learn to ask questions slowly, communicate and share with friends around you, and suggest more optimistic and cheerful friends to talk.
Regarding the pursuit of perfection, you are not allowed to make mistakes. In fact, it stems from your lack of self-confidence, but please remember a sentence "embrace uncertainty". Everything can't be done step by step. Frequent accidents are the norm. Try to keep the variables to a minimum, but don't blame them when there are problems. You know, it's meaningless. I can't even solve it. When you solve it, you will find that you are far stronger and smarter than you think.
I recommend you to read the book "Insensitivity". Remember that everything in the world is just external. Only you are yourself. You should affirm yourself more and praise yourself more. When you look at yourself differently, you will find that you look at the world differently.