Having a violent, frequent cough can also strain the muscles of the rib cage, and you will feel a significant pain in the chest wall, which will be worse when coughing or when taking deep breaths. It is important to treat the cough aggressively at this time. If the cough has phlegm, it needs to be treated aggressively with cough suppressants and sensitive antibacterial medications. In the case of a dry cough, the cough can be treated with dihydrocodeine to suppress the cough, and in more severe cases, appropriate hot compresses can be applied. It is also necessary to apply topical ointment for blood circulation and pain relief, for example, you can use blood circulation and pain relief cream, and you can also apply topical diclofenac sodium cream. Avoid deep breathing and take rest, most of them will get better in a week or so. If there is no improvement, continue to have aggravation, you need to go to the hospital for examination first, under the guidance of the doctor to actively treat with drugs.