Hi welcome to HCMForum. one should not give any over the counter drugs to the children. your child is suffering with infection in the intestines abdominal pain
cold and fever. all these are present in many infections including typhoid.
I advise you to consult a pediatrician
for diagnosis and treatment after necesory tests. other possibilities are teething diarrhoea
which also requires treatment. other is change of veining food it requires stoping the new food