how long is it good for?

Mersadi
I took a bottle of breastmilk out of the refrigerator and warmed it up, but baby fell asleep. How long before I need to throw it away? I can't put it back in the fridge right?