behaved, conducted oneself
He visto cómo te has comportado con tu padre y voy a decirte una gran verdad.
I have seen how you have behaved toward your father, and I am going to tell you a great truth.
— Pinocho (2019)
De haberte comportado, quizá tu compañero seguiría en pie.
If you had behaved yourself, your partner might still be standing.
James se había comportado con absoluta cortesía durante toda la comida.
James had been perfectly courteous throughout the meal.