It took several years for me to develop even the slightest amount of self-kindness / self-compassion. It doesn't have to take that long, but it was a journey for me. I did talk therapy and hypnotherapy, and they helped tremendously. Also, though, I figured out that if I don't treat myself kindly, I'm only but so helpful to others. Once you get there, it's definitely a worthwhile endeavor.