Painful pressure on the right rib edge is usually caused by costochondritis. It is subdivided into non-specific costochondritis and infectious costochondritis. Costal chondritis refers to an inflammatory reaction of the cartilage at the junction of the sternum and the costal cartilage. Typical symptoms of nonspecific costal chondritis are pain on pressure of the second costal cartilage, chest pain, and tenderness in other areas. Infectious costochondritis is mainly characterized by redness, swelling, heat and pain in the skin of the lesion. Nonspecific costochondritis is usually treated symptomatically to relieve pain symptoms, and is a self-healing disease that can be cured without treatment or symptomatic treatment. The main drugs are painkillers and glucocorticosteroids, and painkillers commonly include ibuprofen, procaine, lidocaine and so on. Infectious costochondritis is usually treated first with antibiotics against infection, and surgery is considered when it is ineffective. Common drugs need to be selected for specific pathogenic bacteria, such as penicillin, cephalosporin antibiotics and so on. If you find that the edge of the rib cage is painful when pressed, you should consult a doctor in time, under the guidance of the doctor’s treatment, do not take medication without authorization, so as not to delay the condition. Pay attention to rest on weekdays, minimize high-intensity exercise, reasonable diet, less spicy food.