Maya Angelou said:
I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel.
The trouble is that people tend to remember (mainly/only?) their most recent experience of you.
So, I suggest that the best way to treat people is… consistently. That is, after we have ironed out any wrinkles that we become aware of!