Hi!
This type of pain can be due to liver infection, gall stones, gall bladder infection, bad gastric reflux, duodenal ulcer and due to pancreatitis. You will need some tests for a confirmed diagnosis. Please consult your doctor regarding this. Take care!
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.