to take off one’s hatThe reflexive pronoun changes to match the subject: quítate el sombrero (take off your hat), se quitó el sombrero (he/she took off his/her hat).
SP: Se quitó el sombrero al entrar en casa.
EN: He took off his hat when he came into the house.