Before surgery, the patient still needs to be on medication. After the patient's condition is determined to be stable for surgery, it is important during anesthesia to limit the factors that aggravate pulmonary hypertension such as hypoxemia, hypercapnia, acidosis, and hypothermia, and also avoid factors that cause rapid pulse, and restrictive fluid infusion.