The specific treatment for right upper anterior chest stabbing pain needs to be chosen according to the cause of the disease, which may be caused by pleurisy, costochondritis, lung disease and other causes. 1. pleurisy: pleurisy is a disease that occurs when bacteria, tuberculosis and other pathogens invade the pleura, manifesting itself in chest pain, coughing, dyspnea and other symptoms, and generally requires targeted treatment with antibiotics, such as penicillin, isoniazid and so on, and if necessary, thoracentesis and aspiration treatment. 2. Costal chondritis: this disease is generally associated with trauma, strain and other factors, you need to go to the hospital to do chest radiographs, CT or MRI, etc., you can use pain medication, if long-term drug treatment does not have a significant improvement, you can undergo surgical resection of the costal cartilage. 3. Lung diseases: Lung diseases can cause stabbing pain in the chest, such as tuberculosis, pulmonary space occupation, pneumothorax, etc. Cough, sputum and other symptoms can also occur, and need to improve the examination and use of drugs or surgical treatment. It is recommended that patients with stabbing pain in the chest should consult a doctor as soon as possible, and should not use medication blindly.