How soon can you freeze breast milk ?

I have a overflow so I just pump a little on one breast when I’m feeding on the other and I’ve googled how soon can I freeze it

Can I put in the freezer like after bringing it to room tempt?

If I pump let it seat for 30min in a breast milk bag then okay to freeze?

All the advice I see on google is confusing lol