If you like, you can go to the hospital to find a doctor to write a prescription, and then take it to the drugstore to buy it!
You can buy it separately, for example, ten kinds of drugs, and a drugstore can buy two kinds. Why bother?