To console is to give comfort to a person who feels sad.
When my dog ran away, my dad consoled me.
Example picture