You just have to observe the person's personality. Some people will never change for good no matter what. I call them toxic people. I usually chase such out of my life immediately.
But there are some that require just a little more kindness for them to change their attitude towards you.