Most meds you will need cannot be purchased without a prescription anyway so you may have to resort to raiding a pharmacy or hospital.
I have people that I can call to get a script if I need one.
I also have a few months of medicine in stock as well as some antibiotics etc.
However, in addition to supplies on hand, I always try to figure out a way to provide necessities independent of suppliers. Self sufficient as much as possible.