The change in either smell, color, or consistency tells that oat milk is spoiled. It does not spoil at once but takes time. If your oat milk starts tasting sour, smells foul, turns its color to yellow from creamy, then throw it away.