気を取り直す

気を取り直す (きをとりなおす) means to pull oneself together.

Kana
きをとりなおす
Meaning
to pull oneself together
Japanese Example
失敗したけれど、気を取り直して次に進もう。
Translation
We failed, but let’s pull ourselves together and move on.