Answer: The most common causes of diarrhea could be the shifting hormones,changes in diet,stress,medication etc.Apart from these diarrhea could also be due to viral,bacterial infections,food poisoning,stomach flu etc.
Ideally just give it time, usually it will settle in few days ,check if certain medication is causing the diarrhea and consult your doctor to replace them,Avoid problematic food-stay away from oily,fried,spicy,high fibre and milk and dairy foods.
Do not take any over the counter medication without your doctor's permission.
Stay hydrated-drink plenty water, apple juice helps too.
Certain food help when you have diarrhea like banana,rice,apples and toast.
If your condition doesnt improve in a few days or worsens please do contact your doctor