Jinx, I can’t seem to locate my pharmaceutical textbook (I do have one - paid a bunch of money for it, too!), so I can’t give a real precise answer, but I can add some more to what has already been said. Especially since we were just having a discussion along these lines at the vet clinic where I work!
As others have said, many drugs are prescription only because of the potential for harm - side effects, overdoses, drug interactions, etc. Also remember that we are facing some pretty scary problems with antibiotic-resistant bacteria - bacteria mutate rapidly, and improper and/or unnecessary antibiotic therapy CREATES resistant bacteria. (I can give a brief explanation for how, if you’re interested.)
However, one criteria for control of drugs is the abuse potential. (I’ll have to wing this, so my classifications may be a little off.) Drugs are divided into different classes - Class I, Class II, Class III, and Class IV. Class III (I think) are tightly controlled addictive and/or poisonous substances with a known medical use. This includes drugs like Valium, Phenobarbital, Ketomine, Codeine, etc. Class IV (again, I think) are drugs with the same potential for abuse/harm, but with no known medical benefit.
At the clinic where I work, we are required to keep Class III drugs in a locked cabinet at all times. A usage log must be kept, showing the date, amount, and animal the drug was used on, with a running total of stock on hand. The DEA inspects these logs and compares the usage amounts to the stock on hand, the amount purchased by the clinic, etc. Having a bottle of, say, Ketamine, missing and unaccounted for can get you into big trouble!
We also have a very sophisticated alarm system to try to prevent burglaries committed for the sole purpose of obtaining drugs.
Maybe there is a nurse, EMT, MD or some such on here who can give you a more accurate rundown on the classes, etc., but what I’ve said is correct in general. Or maybe in internet search for ‘drug classifications’ or something will produce a webpage with the info.
God is love. Love is blind. Ray Charles is blind. Therefore, Ray Charles is God.