By modulating the activity of OGT and OGA, most small-molecule drugs-including TMG, OSMI-1, OSMI-4, si-OGT, and others-can influence apoptosis, autophagy, ferroptosis, pyroptosis, and necroptosis, thereby establishing a theoretical framework for targeting O-GlcNAcylation in cancer, infectious diseases, and tissue repair. This evidence concerns the gene OGT and infectious disease.