Sentence:  She talked so excitedly that she <WSD>got ahead of herself</WSD> and looked bewildered and cried out, "What was I saying?" 
Meaning of the word marked with <WSD> tags:  To speak or write in a manner in which one makes points out of logical or chronological sequence.