Refrigerate

After pumping breast milk can I refrigerate it immediately? Or do I have to wait for it to be cooled and then refrigerate it ?