HI.
Thanks for your query and concern for your friend.
The history of pain , sudden sweating , not feeling normal, not having normal stools is all indicative of few things:
Intestinal infection.
Typhoid
I would advise your friend the following:
First of all send the samples for -
Blood: Widal , CBC, sugar and
creatinine.
Urine and stool - routine tests.
Ultrasonography just to rule out any organic lesion.
A course of an antibiotic,
metronidazole,
probiotic for 5 days and then to change medicines as per the reports if need be or extend the antibiotic for 3 weeks if Typhoid is positive.
If no relief after the course , then only you can go for further tests of
colonoscopy and CT scan of the abdomen.