How can I become cold and carefree again?

I was very cold-hearted, brutal, and careless, I 'd easily put myself or my ego above anything and anyone no matter what without feeling any remorse. I enjoyed being alone and unemotional... But over the years, after being in a few relationships and losing some family members, I've changed and I started caring a lot more, feeling sorry for others, I gave up on many of my old traits and I basically feel like it negatively affected me and made me weak. Now I've become soft and people can use me easily and cause me a lot of pain.
So, for those of you who managed to turn this around and became stone-hearted after having enough of people bs, how do I find my old self and identify? As my life was a lot more enjoyable and pain-free back then?
How can I become cold and carefree again?
Post Opinion