Hello
thanks for using health care magic
the best treatment is that which targets the right cause. 
Non specific treatment might work but might also worsen the 
situation.
There are several causes of abdominal pains associated with 
diarrhea. Infections are the most common. You need to do a 
stool microscopy check for bacteria, yeast, parasites etc., stool
 culture for bacterial investigation,
HIV screening etc. in  a bit to
 be sure of the diagnosis.
It is only after an appropriate diagnosis has been made, that an 
effective treatment could be given.
Best regards
Dr ACHUO