Thank you for your query on Healthcare Magic.
It seems you are having loose stools due to gut infection with a stomach virus.
The mainstay of treatment is to maintain the huydration by taking oral rehydration solutions like pedialytr, lemon water, and coconut water.
Oral probiotics like saccharomyces or lactobacillus
sachets will help to improve the gut ecology.
Consult the physician for examination and for prescription of mddication.
Hope I have answered your query.