By literally going to the aisle with the decongestants, taking a pack, and paying for it like every other thing I would be buying. Like every other OTC drug.
Without having to give ID, find a pharmacist, etc. I remember those days. They're long gone, obviously.