I put my earphones on the other way around by mistake.
こんにちは!
ご質問ありがとうございます。
『間違って左右逆にイヤフォンを付けてたよ』は、
I put my earphones on the other way around by mistake. と言えます。
また、
I didn’t notice that I put my earphones on the wrong way around until my friend told me.. とすると、『友人に言われるまでイヤフォンを左右逆に付けていたことに気付きませんでした。』と言えますね!
役立ちそうなフレーズ
Upside down上下逆
Inside out 裏表反対
参考になれば幸いです。