Thanks for your query. You have most likely been suffering from acute watery diarrhea due to viral cause. Viral diarrhea is a self limiting disease which will be resolved within a short time without any medications.But you have to drink oral rehydration solution (ORS) as much as wanted after each purging to prevent dehydration. Hope this will help you. Take care and get well soon.