Then Noah built an altar to YHWH and took some of every clean animal and some of every clean bird and offered burnt offerings on the altar.
Genesis 8:20

Like Noah, the first thing we should do when delivered through a trial is thank and worship the Creator.