The only way for low-income individual to get a valid prescription is to go to the doctor, which is expensive. I guess there's a law in US that prohibits selling drugs without prescription. But if you know what medication you need then you don't have a choice but to pay for a doctor visit. For example, in Ukraine absolute majority of medications can be bought without prescription (except medications that are used by drug-addicts).