Sharp pain just under right side of rib cage. What could this be from?

Gall Bladder. Liver, intestinal disease are among the more common causes of pain in that area. If you ask your doctor, they will ask more questions that help shed light to the likely cause. Good luck and have a wonderful new year. Please don't delay in finding the definitive cause. It is important that you do.