Double object pronouns
When you use both an indirect and a direct-object pronoun in the same sentence, the indirect-object pronoun immediately precedes the direct object pronoun.
Mi amigo me dio un libro. —> Mi amigo me lo dio.
My friend gave me a book –> My friend gave it to me.
¿Quién te mandó la carta? —> ¿Quién te la mandó?
Who sent the letters to you? –>Who sent it to you?
The indirect-object pronouns le and les become se when combined with the direct-object pronouns lo, la, los, and las.
le/les —> se + lo/la/los/las
Possible combinations of indirect and direct object pronouns include:
Me lo, me la, me los, me las
Te lo, te la, te los, te las
Se lo, se la, se los, se las
Nos lo, nos la, nos los, nos las
Os lo, os la, os los, os las
Se lo, se la, se los, se las
For example:
Le voy a pedir un café (a Inés). —> Se lo voy a pedir (a Inés / a ella).
I am going to order a coffee for Inés –> I am going to order it for her.
Les escribí las instrucciones (a ellos). —> Se las escribí (a ellos).
I wrote the instructions for them. –> I wrote them for them.
*Remember that object pronouns either precede a conjugated verb or are attached to the end of an infinitive or present participle.
Se lo voy a mandar. —> Voy a mandárselo.
Se la estoy escribiendo. —> Estoy escribiéndosela.