The most common cause is an infection of the intestines due to either a virus, bacteria, or parasite; a condition known as gastroenteritis. What are the three types of diarrhea