Hi thanks for contacting HCM.
You had past history of typhoid ....
So this time it could be typhoid if bacilli not cleared ....
For typhoid confirmation you can do widal test or
blood culture....
If typhoid positive then cefixime like antibiotic given....
Small bland diet taken at frequent interval..
If typhoid negative then it could be
chronic gastritis ....
H.pylori has to be ruled out by
urea breath test.....
If weight loss and diarrhea present then intestinal
tuberculosis and then
inflammatory bowel disease ruled out....
For that endoscopy examination with subsequent biopsy needed .
According to cause treatment done...
Meanwhile low fat diet taken...
Non veg food and junk food avoided for few days ...
Cooked oatmeal help in soothing effect...
Heavy meal avoided...
For detail history and subsequent investigation consult gastroentetologist.
Take care.
Dr.Parth