Coughing to rib pain can be caused by a variety of reasons, including respiratory muscle strain caused by severe coughing, rib fracture, pleurisy, costal chondritis and other diseases, according to different causes, can be given different treatment. 1. When coughing violently, there will be a strong impact on the diaphragm and pleura, or the intercostal muscle strain caused by coughing, which may lead to “rib pain” symptoms. The cause of the cough needs to be clarified and treated. If the cough is caused by a lung tumor, surgery, radiotherapy or chemotherapy may be needed. If it is an allergic cough, anti-allergy treatment is needed, such as taking loratadine tablets. 2. Elderly patients with osteoporosis, severe coughing can cause rib fracture, single rib fracture or displacement is not obvious, can be given chest strap fixation, and the use of ibuprofen, celecoxib pain relief treatment. 3. If there is no rib fracture, cough-induced rib pain cannot be excluded from pleurisy or costochondritis. Depending on the cause, pleurisy should be treated with anti-tuberculosis (isoniazid, rifampicin, etc.) and anti-inflammatory (moxifloxacin, cefixime, etc.); for costochondritis, anti-inflammatory and analgesic drugs such as ibuprofen should be given, and localized physiotherapy should be used. Cough rib pain can also be caused by other diseases, if the symptoms are not relieved or aggravated, it is recommended to consult a doctor in time to clarify the cause of the disease and standardize the treatment under the guidance of the doctor.