Preterite vs imperfect: how Spanish tells a past story
Use the preterite for completed events that move the story forward. Use the imperfect for background, repeated past habits and situations in progress.
Ayer estudié dos horas. — completed event.
Cuando era niño, estudiaba por la noche. — repeated background habit.
Cuando era niño, estudiaba por la noche. — repeated background habit.
When one action interrupts another
The ongoing situation usually takes the imperfect; the event that interrupts it usually takes the preterite.
Estudiaba cuando sonó el teléfono.
Also review ser vs estar and por vs para.
Quick check
Cuando era niño, ___ al parque cada domingo.