Do not use anti diarrhoeal until the doctor has prescribed you. You can drink plenty of fluids (electrolytes) to avoid dehydration. Besides this, you can also take prebiotics or probiotics to manage diarrhoea as it may help in increasing the number of good bacteria in the intestine which aids in digestion.