Snap a rotary pipe cutter onto the pipe to one side of the damaged area. Rotate it in the direction indicated on the cutter side (it only cuts one way) to cut through the pipe. If you don’t have a rotary pipe cutter, a hacksaw can be used. Repeat this step on the other side of the damaged area to remove and discard the damaged section of pipe.