Hi,
See there is a medicine called lomofen that comes for kids also but I suggest you should call the doctor before giving any medicine to yhe baby as there may be chances that some meficine doesn't suit the kid.
Else for home remedy you can try giving grinded dhania or dhania powder mixed in little curd to your kid. It will not stop motions immediately but will do after sometime. It is safe to give yo a kid.
Read more