Drug or medicine — refers to pharmaceuticals (prescription or over-the-counter medicines).
風邪を引いたからドラッグストアでドラッグを買った。
I caught a cold, so I bought some medicine at the drugstore.
そのドラッグには副作用がある可能性がある。
That drug may have side effects.
薬剤師に相談して適切なドラッグを選んでもらった。
I consulted the pharmacist and had them choose the appropriate medicine.
Illegal drugs or narcotics — illicit substances such as narcotics or stimulants (meaning depends on context).
空港で違法ドラッグの密輸が発覚した。
Illegal drug smuggling was discovered at the airport.
若者の間でドラッグの問題が深刻化している。
Drug problems among young people are becoming serious.
警察は覚醒剤などのドラッグの摘発を強化している。
The police are strengthening crackdowns on drugs like stimulants.