Hidden pain and flatulence under the right rib cage may be caused by cholecystitis, chronic hepatitis, right hemicolonic polyp, etc. You can take anti-inflammatory cholelithiasis tablets, oramectin tablets and other medicines or surgical treatment to intervene. 1. Cholecystitis: Inflammation of gallbladder due to stone obstruction, bacterial infection, etc., leading to bile stasis and weakening of digestive function, which results in hidden pain and flatulence under the right side of the rib cage. Patients should pay attention to light diet, pay attention to work and rest, can take anti-inflammatory bile tablets and other drugs for treatment. 2. Chronic hepatitis: viral infection leads to persistent damage of liver function, and the liver is in the right side of the abdomen, so it will lead to hidden pain and flatulence under the right side of the rib cage. It can be treated with medicines such as entecavir and glycyrrhizic acid preparation as prescribed by the doctor. 3. Right hemicolon polyp: right hemicolon polyp will lead to narrowing and obstruction of the intestinal lumen, and the accumulation of food and hyperplastic polyp tissue will cause hidden pain and flatulence under the right side of the rib cage. It can be treated by microscopic surgical removal if necessary. Hidden pain and flatulence under the right rib cage may also be caused by other reasons. It is recommended that the patient should go to the hospital in time for a clear diagnosis and treatment under the guidance of the doctor. In addition, all medications must be used in a standardized manner under the guidance of a doctor.