How do I repair a leaking shower head arm?

A leaking shower head arm can be caused by a worn-out rubber washer or a damaged thread, among other issues. Here’s a step-by-step guide on how to repair a leaking shower head arm: