Ed Welch writes:
We will all suffer, of that there is no doubt. It is strange, then, that we are often unprepared for it. With that in mind, a useful exercise is to summarize Scripture and identify what words of God can guide us when things are hard.
Here is my current list of ten things to do while suffering (it is always subject to ongoing refinement).