Check your kidneys
Consider kidney stones, etc.
Also, right upper quadrant pain can be associated with liver/gallbladder issues.
I some instances, it can be an intestinal problem, or an ulcer.
If the pain is severe, please have it checked out, as these are just some of the possibilities.