Smoking and excessive alcohol consumption are hazardous to health. Smoking leads to atherosclerosis, chronic bronchitis and even lung cancer, and excessive alcohol consumption can damage the gastric mucosa and liver, and smoking and alcohol consumption also have a significant impact on the rehabilitation of joint replacement. Early postoperative bed rest is prone to complications of pulmonary infection, and smoking will make it more likely; early postoperative bed rest is prone to lower limb deep vein embolism, and the toxic substances in tobacco will damage the vascular endothelium and increase the risk of thrombosis; general anesthesia tracheal intubation inhalation anesthetic stimulates the respiratory tract and produces more secretions, and smoking will increase the secretions and affect the patient’s respiratory function. Drinking large amounts of alcohol can cause damage to the gastric mucosa, and the stimulation of surgical play can cause serious consequences such as gastric ulcers and even bleeding. The intake of more alcohol can cause serious damage to memory, attention, judgment, function and emotional response. Drinking too much alcohol can cause slurred speech, blurred vision and loss of balance, which is extremely detrimental to post-operative recovery. Long-term drinkers can also become addicted, and when they have to stop drinking during surgery, this can lead to fluctuations in heart rate and blood pressure and dysregulation of voluntary movements, all of which can have a negative impact on post-operative recovery. For this reason, it is important to stop smoking and drinking if you are going to have joint replacement surgery in order to ensure the safety of the surgery and a good recovery.