welcome to HealthcareMagic
Your baby has stomach infection
and that is the reason to have blood in stools.It may be a viral/ bacterial/protozoal diarrhoea
.If it is viral then you have to just maintain hydration by giving enough fluids and it will stop on its own in 2-3 days but if it increases or does not stop then you need to give the child antibiotics to help stop the motions.The antibiotic usually given is a combination of Metronidazole/tinidazole
but the dosage is according to body weight so i would suggest you to reconsult your doctor or just in case you are not happy some other doctor and then only start on medicines.