Help!

How long is a bottle of breastmilk (that’s been in refrigerator and heated up) good for? Can it be put back in the refrigerator? Baby didn’t finish it.