Turn off the water supply at the sprinkler shut-off valve ... If the riser broke off inside the pipe, use a riser removal T-tool to extract it before installing a replacement.