(Most translations in online dictionaries are a bit misleading. The core idea is making something (or yourself) stand up straight. Cane be used reflexively.)
2.
to cheer up, to give a pep talk
(Same idea as before, but figuratively. The other person is the direct object.)