Help mamas

So I took breast milk from fridge and warmed it but he didn’t drink it.So for how long can be on room temperature?