1) go to a doctor, NP, or other medical practitioner with prescription power
2) convince them to write you the script (and pay them, directly or indirectly, for this service)
3) have it sent electronically (in NY) to the right pharmacy that can fill it
4) then go to the pharmacy and fill it
The rent-seeking in our medical system will be the death of us.