If there is a septic infection, you need to choose sensitive antibiotics for anti-infection treatment, while local hot compresses can be applied, but do not repeatedly massage, local application of Ruyi Jinhuang San, oral anti-inflammatory and analgesic drug Loxoprofen Sodium, if there is local pus formation, you also need to make an incision and drainage. If the swelling and pain in the ribs are caused by local tumor diseases, active surgical treatment is also needed, followed by pathological examination, and according to the results of the pathological examination, corresponding radiotherapy and chemotherapy will be chosen. However, most of the clinical rib swelling pains are still due to bad habits of life formed by costochondritis, you can apply local heat, appropriate massage, correct body posture, avoid local compression. Oral anti-inflammatory and analgesic drug loxoprofen sodium, relieve muscle spasm drug ethylparisone hydrochloride, local use of flurbiprofen babu cream, most of them can be well alleviated.