It could any of the following or even something else. My suggestion is see your MD
LUNGS
Pneumonia (bacterial or viral) of the lower lobe of the right lung.
Pleurisy or pleuritis (inflammation of the lung membrane) from infection, trauma, e
LIVER
Enlarged liver due to heart failure, hepatitis, fatty liver, lymphoma, leukemia, etc.
Liver cancer or metastases of other cancer into the liver.
GALLBLADDER/ BILIARY TRACT
Gallbladder inflammation, mostly due to gallstones.
Inflammation or blockage of the biliary tree (cystic, or common bile duct).
Gallbladder and biliary cancer are rare.
DUODENUM
Duodenal ulcer
MUSCLES
Strained muscle
KIDNEYS/URETHER
Pyelonephritis (infection of the right kidney).
Kidney/uretheral stones
DIAPHRAGM
Abscess under diaphragm
it sound like to me that u may have ibs don't worry this is a irritable bowel syndrome there are plenty of medication u can try at a local chemist