When a blockage prevents the flow of urine through the urinary system, a nephrostomy tube may be inserted to relieve the blockage. A blockage may be caused by a kidney stone, tumor, scar tissue, or another cause. This procedure is done to stop pain, infection and kidney damage.