It needs to be treated according to the cause of the disease, usually the common causes are gastrointestinal spasm and coronary heart disease, etc. The treatments that can be taken include the methods of physiotherapy and medication. 1. For patients with gastrointestinal motility dysfunction, gastrointestinal spasms may occur when angry, gastrointestinal spasms will have radiating pain, which may cause rib pain in the back, you can use hot compresses to relieve smooth muscle spasms and eliminate the pain, but also use antispasmodic and analgesic medications to relieve the symptoms, such as scopolamine, brompropylaminotriptyline, etc., and use ranitidine, omeprazole, and other medications to reduce the secretion of gastric acid. 2. If the patient suffers from coronary heart disease, accompanied by angina pectoris after anger, there may be pain in the precordial area, followed by pain radiating to the left side of the ribs, can also be accompanied by chest tightness, sweating, nausea and other symptoms, you can take nitroglycerin, isosorbide nitrate and other drugs for treatment, patients with coronary heart disease should pay attention to avoiding emotional excitement. There may also be other causes of left side back rib pain after anger, you should go to the hospital in a timely manner to identify the cause of the disease, under the advice of the doctor to take the correct treatment to avoid delaying the condition, you need to use the above drugs under the guidance of the doctor.