I have trouble anticipating what will make someone feel better.
In this kind of situation, I usually just ask, outright, “What can I do to help you?” Then I can file away the answer for the next time the same thing happens.
However, this assumes that, like me, you are in a strongly Ask culture. If the people you know are strongly Guess, you might get answers such as “Oh, it’s all right, don’t inconvenience yourself on my account”, in which case the next best thing is probably to ask 1) people around them, or 2) the Internet.
You also need to keep your eyes out for both Ask cues and Guess cues of consent and nonconsent—some people don’t want help, some people don’t want your help, and some people won’t tell you if you’re giving them the wrong help because they don’t want to hurt your feelings. This is the part I get hung up on.
“No Safe Defense, Not Even Science” is close enough for the purpose I was using it for. Thank you!