Hi,
Welcome to the ehealthforum and I am glad to help you out. From the symptoms that you have mentioned, the first possibility that comes to my mind is gall bladder colic or biliary colic. It can be due to cholecystitis(inflammation of gall bladder) or gall bladder stones. I would suggest an ultrasound abdomen to confirm the diagnosis.
Other possibilities are irritable bowel syndrome, hepatitis(inflammation of the liver), kidney stones, pneumonia or musculoskeletal pain. Irritation of the nerves supplying this area can also cause pain. Irritation can be due to nerve compression or pinching due to any spine related pathology. In females, ovarian pathology can cause such symptoms.
If gall bladder disease is ruled out, then other possibilities need to be ruled out. I would suggest a physicianâs evaluation in that case. It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care.