In the united states, most of the time diarrhea is going to be viral and self-limiting. You should look for nausea, vomitting and diarrhea. If there's "vomitting from both ends" it's going to be gastroenteritis
Chronic diarrhea can be, but rarely is, infectious. The key is to seperated it into secretory, osmotic, and inflammatory. If at any time there are blood or white cells in the stool, its inflammtory. THe lactoferrin has become the preferred method/lab test for assessing for inflammatory causes of diarrhea.
Irritable Bowel Syndrome (IBS) has traditionally been a diagnosis of exclusion
Acute diarrhea unless it has high risk features can be managed with supportive care.