薬で

with medicine

→ 薬
phrase Uncommon #16,810
with medicine で marks the medicine as the means or cause of an effect.
JA: 薬で頭痛が治りました。
EN: My headache went away with medicine.

薬でもいいよ

Medicine is fine too.

— ロシアン・ブラザー (1997)

この薬で君の頭痛は治るよ。

This medicine will cure your headache.

マッサージと薬でね費用はかかるが

With massages and medication, it does cost money, though.

— 最強のふたり (2011)

この薬であなたの頭痛は治るでしょう。

This medicine should cure your headache.

この薬で痛みは緩和するでしょう。

This medicine should relieve the pain.

うがい薬でたびたびうがいをしてください。

Please gargle with mouthwash frequently.

あの薬で眠くなってしまった。

That medicine made me sleepy.