Working on motor

hi all
I’m refreshing what I believe is an 02
318 magnum engine
It’s mostly apart at this point
I have the pistons out right now and I’m wondering if there is a way to tell if the piston rings are still good?
Or if it’s out should I just replace anyway?
And how can I tell which ones I need to buy?
Thanks