A single pronoun object is placed before the verb with which it is associated, except in the affirmative imperative when the pronoun object follows the verb.
The following table outlines the order and placement of pronouns when there is more than one object pronoun in a sentence.
However, in the affirmative imperative, the pronoun objects follow the verb.
y and en
Y always comes before en, and both come before the verb except in the affirmative imperative.
When used with other pronouns, y and en always follow any other pronoun object, even in the affirmative imperative.
Sometimes there will be both a direct and an indirect object pronoun in the same sentence. The direct object pronoun is usually closest to the verb of which it is the object.
However, the order of direct / indirect object pronouns is reversed in the third person singular and third person plural (le lui, le leur, etc.). In this case, the indirect object is closest to the verb.
Remember that in the affirmative imperative, me and te become moi and toi .
In simple tenses, like the present, future, imperfect, and passé simple, the object pronouns are placed between the ne and the verb.
In compound tenses, like the passé composé, the plus-que-parfait etc., the object pronouns are placed between the ne and the auxiliary verb.