got on the wrong bus/train, took the wrong bus/train
電車を乗り間違えた。
I got on the wrong train.
電車に乗り間違えた。
電車、乗り間違えたみたい。
I think I got on the wrong train.
バスに乗り間違えた。
I got on the wrong bus.
彼は電車を乗り間違えた。
He got on the wrong train.