How long after breast milk is pumped should it go in the freezer??

I completely forgot about my milk and it’s been in the container in room temperature for 2 hours, can I still put it in the freezer or should I toss it??