Warning and controlling the water invasion in water-driving reservoirs is significant because water invasion will seriously hamper well productivity and gas recovery. Unfortunately, there are few comprehensive methods to control water invasion. First, we establish and verify a water invasion model of reservoir scale. Then, a new workflow for warning and controlling the water invasion is proposed using the numerical simulation method. The workflow first judges the water invasion characteristics, determines the water invasion index based on the production data, and then controls the water invasion by finding and closing the perforation layer of serious water production. Finally, the optimal water control scheme is obtained by comparing water and gas production. The results show that the accuracy of the geological reserves of the established water invasion model is 99% and has a good pressure fitting result. The early warning chart for the gas reservoir in the west of Amu Darya B area is drawn, including the early warning pressure and the level 1, level 2, and level 3 early warning water–gas ratio, which is convenient for field application. For the water-driving wells west of area B, the early warning value of the water–gas ratio increases with the increase of gas production rate during fixed production and decreases with the increase of bottom hole pressure during constant pressure production. Closing the harmful perforation from the water-finding study will significantly reduce the water while retaining the gas production. After water control technology, water production decreased by 90.9%, while gas production decreased by only 9.7%.