Let's take it step by step.
First there is detection. I find a couple of nonconforming parts.
I "NCR" them (people love to verb nouns) which is really just a means of identifying and notifying people that these parts are bad. the parts are 'segregated' physically or electronically or by some means from the 'good' parts.
Then comes correction. Someone comes and dispositions the bad parts. this is also referred to as 'correction'. In other words I either rework or repair* the parts to make them 'good' again. or I determine that they are acceptable as is**. Or I scrap them/return them to the supplier to remove them from the system.
Next comes containment. Containment is as John P said - screen future parts to ensure any 'bad' parts don't escape and screen to ensure that there are no parts that did escape downstream to finished goods or the customer and are there any necessary actions for parts that did escape tot eh Customer to improve their experience (recall & replace, free goods, special instructions, proactive notification, etc.)
Next comes
8D/corrective action to prevent recurrence. Now depending on the severity of the detected problem the 8D may start at containment. sometimes 8D starts after containment when it is found to be severe and extensive. And of course some occurrences of a defect are too few in number and/or severity to not require an 8D/corrective action to prevent recurrence...
*repair in some industries has a special meaning. this may generate another review and approval loop.
**Use as is can also generate special review and approval loops