Diarrhoea lasting more than 3 days or containing blood/pus often indicates infection. Testing a stool sample can identify bacterial, viral, or parasitic culprits.