Thank you for the query.
Your tar like stools and upper abdominal pain
strongly indicates peptic ulcer
which is bleeding. However back pain is more characteristic for gall stones
or pancreas diseases, bleeding should be ruled out at first. It is advisable for you to visit your doctor as soon as possible and have full blood work, abdominal ultrasound
and upper GI endoscopy.
Hope this will help.