What do you call someone who thinks they are always right?

What do you call someone who thinks they are always right? Self-righteous is a word for someone who thinks they are always right. Stubborn is the most common word for somebody who refuses to change their opinion about something.

Self-righteous is a word for someone who thinks they are always right. Stubborn is the most common word for somebody who refuses to change their opinion about something.