A nerve block involves injecting an anesthetic near a specific nerve to temporarily relieve pain and can be used diagnostically to find the pain source. Nerve ablation, such as radiofrequency ablation, uses heat to destroy nerve tissue for longer-lasting pain relief, often following a diagnostic nerve block.