Your doctor may also use nerve blocks as a diagnostic tool to determine the source of your pain. Radiofrequency ablation of a nerve is sometimes used to provide longer lasting pain relief after a diagnostic nerve block. Procedure in which an injection of an anesthetic is delivered to a specific nerve to relieve pain.