idiom
lose your train of thought
何を考えていたか、または言おうとしていたかを忘れる
Meaning
to forget what you were thinking or saying
Example
I **lost my train of thought** when the phone rang.
電話が鳴ったとき、考えていたことを忘れてしまいました。