There is a popular line: you will stop caring what people think about you when you realize how seldom they do.
It is true that most people don't think that much about you. They are in their own world. But I don't think that is the real reason to stop caring, and I don't think you should stop caring completely.
I do care. Selectively.
I could say that I don't care much about what other people think. That would not be quite true.
I take feedback. I try to learn from others. Sometimes I ask directly. What do you think I could do better? What is my mistake? How does this look from your perspective? Tell me something that I don't see.
So I care. I just don't care generally, about anyone, all the time.
The test
Here is my example. If someone calls me stupid, the first time I always ask: why?
Tell me why I am stupid. What did I do? I am not against you. Show me.
At this point only two things can happen.
If someone calls me stupid, I ask one question: why?
One. The person blows my mind. They explain something that clearly shows me, because I am open to it, where I went wrong or what my blind spot is. Good. I learned something.
Two. They cannot back it up. And that tells me what I need to know about the claim, and about the person who made it without anything behind it.
I do this once. I am not going to keep asking them every time.
The real reason not to care in general
You should not care about what everyone thinks all the time. Not because they rarely think about you. Because you have to attend to your own life.
You have to develop critical thinking. You have to be able to filter the world through your own lens, so that you become the agent and the master of your own life.