I didn't have bad pain nor did it generate up my back. I had soreness in the upper middle part of my stomach and had an ultrasound done. Sure enough, it was gallstones. I could have lived with the soreness because I had no pain but I went ahead and had my gallbladder removed a week ago only because it could have turned into something else and I feel great.
If the pain is on the right under the ribs there and radiates up and into your Back, you could be having a Gall Bladder attack, also if the pain comes on about an hour or two after eating, you may want to visit your Doctor, eat low fat, no milk no eggs, If you put in Gall Bladder into your search engine you can get a list of foods to eat and ones not to eat, the Pain is extremely severe with Gall Bladder,and some people go to the ER but I have founde that diet helps a lot and there are Natural Remedies to help online.