Lucia is walking barefoot in her yard. She accidentally steps on a nail. How will her nervous system work to generate a reaction? Arrange the events chronologically.