Most of the chest pain in pneumonia occurs because the inflammatory lesions in the lungs involve the pleura and thus chest pain will occur. As long as after active anti-infection treatment, chest pain caused by pneumonia will be gradually relieved. It is recommended that chest pain from pneumonia can be treated in hospital and taken as an IV treatment, which can make the chest pain relieved more quickly. The more commonly used clinical drugs for pneumonia are penicillins, respiratory fluoroquinolones, and macrolides, all of which have a more pronounced effect on bacterial pneumonia. If the chest pain is really unbearable, you can also take oral pain medication to relieve it, and avoid spicy and stimulating foods.