Goal: when should I add a detergent pod?

Which of the following methods is more reasonable for accomplishing this goal?
toss in before adding clothes.