Answer:
I wrote a letter yesterday.
Explanation:
Because we are talking about doing something in the past tense (yesterday). We need to change write to its past tense wrote.