As explained in this guide, you should use the preterite tense in Spanish, such as “Terminé mis deberes a las cinco” (I finished my homework at five) or “Visitó España tres veces” (He visited Spain three times), when explaining actions with a definite start and finish, events that occurred once or a set number of times, sequences, or actions that interrupt ongoing events.