Stomach pain and headache after four days of loose motion. Please help

https://www.icliniq.com/qa/stomach-biopsy/stomach-pain-and-headache-after-four-days-of-loose-motion-please-help

Why are there stomach pain and headache after four days of loose motion?