In the clinic, if there is pain after surgery, it is recommended to apply analgesic medication, which has the advantages of reducing patient’s pain, avoiding lung infection, avoiding thrombosis, promoting wound healing, and helping gastrointestinal recovery, in order to reduce the occurrence of various complications due to prolonged hospitalization. Among them, lung infection can be caused by the patient’s reluctance to cough due to wound pain, resulting in sputum stagnation in the lungs; thrombosis can be caused by the patient’s prolonged bed rest due to pain, resulting in deep vein thrombosis. Appropriate application of analgesic drugs can reduce the sympathetic excitation caused by the patient’s pain, which in turn promotes wound healing and gastrointestinal recovery.