Presence Without Fixing

How hard it is to be with someone, even, and perhaps especially ourselves, when they are in pain, and we can do nothing about it. But given that we all hurt sometimes, and healing often takes time, what are we to do in the meantime?