What should I do when Mac OS X can no longer open its Help Viewer?

The Help Viewer used to display the online documentation of applications suffers from several technical defects, so it might stop working correctly from time to time. To repair it, perform the following steps: