Lose one’s train of thought

Meaning: To forget what you were talking about or thinking about.

Example: I lost my train of thought when the phone started ringing.