Hello and thanks for the query
If the pain is in right upper part of the abdomen than it is surely be the pain due to gall stones
as it was diagnosed in sonography
. Other possibility may be heart pain if it occur in whole chest and radiated towards the left arm.
Consult your doctor and get operated for Gall stones and remove the gall bladder
. This will resolve the problem of pain. Also you will get clearance from heart related issue before surgery. So get the surgery done as soon as possible so that it may not result in any complication.