Horizontal wells are the key well type for the development of carbonate oil and gas fields, but the drilling of horizontal wells often faces technical problems such as low drilling rate of reservoirs and unreasonable borehole trajectory, which is not conducive to the later stage of reservoir reconstruction, seriously restricting the high and stable production of single wells and the development of oil and gas scale benefits. The traditional steering string while drilling is optimized, and the gamma steering combination design is innovated. By processing and analyzing the real-time gamma data obtained in drilling, the azimuth of well deviation is adjusted in time, so as to minimize the dogleg degree and ensure that the trajectory is stable and smooth in the designed target box. Improve the drilling rate of reservoirs, provide a good borehole environment for staged reconstruction, and play the role of horizontal wells in increasing production.