Thanks for your query.
Your child is having diarrhea
which is viral or bacterial in nature and subsides in few days.
In your case it will be bacterial in nature for which doctor has started antibiotic.
Continue with medication as advised.
Most important is to maintain hydration.
Give oral rehydration solution sip by sip after each loose stool
Give lemonade,coconut water,curd,rice porridge.
Monitor for signs of dehydration
like decreased urine output,lethargy,increased thirst and in case you observe any get him evaluated by pediatrician
Wishing your baby good health.