Pumping

Can you give your baby freshly pumped milk or do you have to warm it? And how long is it good for until you have to warm it if left at room temp?