What he needs is a good examination by a doctor to decide where is the pain .
He may need stool ,urine examination,and blood works for liver
Stop the cough
expectorant as it will not work in the small child who does not know how to cough out phlegm. Definitely go to a good pediatrician
to assess him