Self-opinionated
The word for someone who thinks they are perfect is "narcissist."
Paranoid, maybe?
The term for someone who thinks they are superior to everybody is "narcissist" or "egotist."
Pensive.
The term for someone who thinks of others is "considerate."
Presumptuous ,
selfless, considerately empathetic.
The word for someone who thinks they can do no wrong is "self-righteous." Self-righteous individuals believe their actions and beliefs are always morally justified, leading them to be judgmental and intolerant of differing perspectives. This mindset can hinder personal growth and damage relationships due to a lack of empathy and humility.
pretentious
Hypochondriac
One word that describes someone who thinks they are better than others is "arrogant." This term conveys a sense of superiority and a lack of humility in their interactions with others.