Diarrhea occurs when a person has loose or watery stools. Many different conditions have diarrhea as a symptom. Treatment may include taking medications, making dietary changes, and staying hydrated.