に乗ったら

if you take

→ に
phrase Rare #35,232
if you take 乗ったら can mean “if” or “when” you get on or take a vehicle. In どれに乗ったらいい, it’s used to ask which one you should take.
JA: この電車に乗ったら、京都に行けます。
EN: If you take this train, you can get to Kyoto.

違う電車に乗ったら違う駅に着いた。

I took the wrong train and ended up at a different station.

東京行きはどの列車に乗ったらよいのかな。

I wonder which train I should take to Tokyo.

どこでバスに乗ったら良いのかわからなかった。

I didn't know where to catch the bus.

繁華街へ行くにはどのバスに乗ったらいいですか。

Which bus should I take to get to the downtown area?