In Canada you can go to a doctor and get your prescription, then you can sign up to one or all licenced and regulated legal producers, there's 38, 39? Or you can register to grow your own.
Or you can go black market, your neighbourhood dealer, dispensary, or grow your own illegally...