Call the dr's office, there should be a on-call service, explain you had the test done, and you need pain pills to deal with the pain, they should phone the prescription to your 24hour pharmacy. Should be like 2AM there? if someone is home to drive you, you can pick them up if you're not up to driving.