Left abdominal subcostal pain may be caused by gastritis, gastric tumor, pancreatitis, costal neuritis, etc., which needs to be treated with general treatment, medication and surgery. 1. Gastritis: mainly caused by excessive secretion of gastric acid and insufficient gastric power, acid-suppressing drugs and gastric power-promoting drugs can be taken, such as omeprazole, rabeprazole, mosapride, domperidone and so on. 2. Gastric tumors: including benign and malignant tumors, also easy to cause left abdominal subcostal pain, once diagnosed, timely surgical resection, if it is a malignant tumor, often need to cooperate with postoperative radiotherapy, chemotherapy and so on. 3. Pancreatitis: the attack will often lead to left abdominal pain under the ribs, acute pancreatitis often need to take rapid rehydration therapy, and pay attention to rest, fasting, if suspected or confirmed infection, early use of growth inhibitors, broad-spectrum antibiotics such as ceftriaxone, cefotaxime sodium and other intravenous infusion. However, pancreatitis is complex, and the specific treatment varies from person to person. 4. Costal neuritis: It is an inflammatory disease of the intercostal nerves, which usually requires the use of non-steroidal anti-inflammatory drugs (NSAIDs), such as Loxoprofen and Meloxicam, which can help to alleviate the pain, as well as nutritive nerve medications, such as methylcobalamin and vitamin B1, etc. All of the above drugs should be used under medical supervision. All of the above medications should be used under the direction of a doctor, and patients should not use the medication on their own. In addition, the left abdominal pain under the ribs may be caused by other reasons, it is recommended to go to the hospital in a timely manner to identify the cause of targeted treatment.