Objective: How do I clean off a cranberry stain from my clothes?

Which of the following solutions is more sound in terms of naive physics reasoning?

OPT:
(A). Add chlorine or another type of detergent to the stain area. Rub in the detergent into the stain, then add water and wash the stain off. Use cold water initially, followed by warmer and heated water to remove the stain..
(B). If possible, clean off the stain as soon as it formed. Use cold water initially to wipe off the stain. Use boiling water or steam afterwards if the stain remains, and if the material can handle it. Launder the clothes afterwards normally..
(B).