Short answer: They didn't.
Back then lives were being ruined as well. And the availability and affordability of dangerous drugs has only increased since then.
People just didn't make such a "fuss" of addiction, and especially in the case of poorer people, nobody really cared.