"I had eaten a pizza before you have arrived" is improper use of past perfect. correct: "I ate a pizza before you arrived" simple past tense is always preferable to the past perfect in the principal clause of a sentence. (me comí una pizza antes de que tu llegaras [o antes de tu llegada].