Not all back pain is caused by a pinched nerve or muscle imbalances. If you have pain in the upper right back side then it could mean that you have gallstones or an infected gallbladder. The following page talks about what you should do if you are experiencing those symptoms. Visit this page to learn more http://hubpages.com/hub/Pain-in-Upper-Right-Back-Side.
Note that gallstones and gallbladder infection are often accompanied by vomiting, nausea, and gas. Visit your doctor if you experience any of these as well.