Why it's done. A discogram is an invasive test that generally isn't used for an initial evaluation of back pain. But your doctor may suggest a discogram if your back pain persists despite conservative treatments, such as medication and physical therapy. Some doctors use a discogram before spinal fusion surgery to help identify which disks need to be removed.