Thank you for your query on Healthcare Magic.
Your child seems to have gastroenteritis
and the red color is indicative of blood tinge which may be associated with dyentery.
I advise you to give stool for investigations like stool routine and stool for culture and sensitivity as it will indicate the cause and the appropriate antibiotic if required.
And give sips of oral rehydration fluids like Pedialyte
to prevent dehydration
Consult the Pediatrician
for examination and for stool investigations.
Hope I have answered your query.