Leaving prepared infant formula out at room temperature can cause it to spoil. If you cannot use it within that time period, refrigerate the bottle and use it within 24 hours. Any formula left in the bottle after feeding your baby should be thrown away.