He needs to see a gastro -intestinal surgeon , to do a gastroscopic examination on him. He might be suffering from a hernia
after the vomiting
. Because of the weight-loss you can not procrastinate , he needs to be seen as soon as possible. Conservative treatment will include antacids and pro-kinetic drugs. I stress
that this is a surgical problem.