immediately before the conjugated verb or attach them directly to the infinitive.
She should explain it to me.
Ella me lo debe explicar.
Ella debe explicármelo.
Note that when attaching the pronouns to the infinitive, a written accent is also added to the final syllable of the infinitive. This preserves the sound of the infinitive.