Ultrasound-guided nerve block involves the use of ultrasound imaging to visualize the target nerve or nerves in the shoulder or elbow before injecting local anesthetics or corticosteroids to block pain signals. This technique allows for precise placement of the injection and real-time monitoring of the needle position, minimizing the risk of complications and maximizing the effectiveness of pain relief.