The treatment for right subcostal tenderness and abdominal distension should be chosen according to the cause of the disease, and the diseases that cause this symptom are liver cysts, cholecystitis, pleurisy, etc. The specific cause of the disease and the treatment should be confirmed after the doctor’s diagnosis. 1. Liver cysts: Hidden pain and abdominal distension under the right rib cage caused by liver cysts are usually treated by surgery if there are surgical indications, such as ultrasound-guided cyst puncture and aspiration, laparoscopic cyst opening, cystectomy and so on. 2. Cholecystitis: patients caused by cholecystitis can be treated by oral administration of magnesium sulfate, ursodeoxycholic acid tablets and other medications, and can also choose cholecystectomy, cholecystostomy and other surgical treatments. 3. Pleurisy: patients can be treated with penicillin V potassium tablets, cefixime capsules, rifampicin capsules, aspirin enteric-coated tablets and other drugs according to different causes. All of the above medications should be used under the guidance of a doctor to avoid self-medication.