Overnight in fridge

Hi everyone. I’m new to the group. Very much a newbie to sourdough but now I’m hooked.

Just a quick question. If I’m putting my loaf in the fridge overnight do I put straight into the fridge once I shape? Or do I need it to have a rise on counter then put it in the fridge?

Thank you