If its a virus, you should go to the vet. If its just something he ate, it will be out of him within half a day usually - tha natural way
Any product you give him orally will not be able to do much, since what gave him the shits is already in his intestines