Swimming at beaches with bacteria in the water can make you ill, and children, the elderly and those with weakened immune systems are at highest risk.