hello there, thanks for your question.
it sounds like the pain in the upper abdomen might be gastritis
. take some antacids and omeprazole
. also avoid overspiced food as they may aggravate the pain. whatever the case, you need to see a doctor for proper examination of the abdomen and the shoulder.