Complete the sentence with the correct form of preterite or imperfect of the verb in parentheses, based on context.
Primero, la enfermera me _____ (tomar) la temperatura, pero no tenía fiebre.
Ayer los estudiantes _____ (empezar) a estudiar a las cuatro de la tarde.
Me _____ (doler) la cabeza y tenía los ojos irritados.
Finalmente, el médico me _____ una receta para unas pastillas.