If you are in the states, in most states your primary care doctor or other doctor can call in an emergency refill.
You will need to check with a local pharmacy where you are, and if so, call your doctor.
Other possible options:
go to an actual urgent care, not a quick care. Urgent cares have full fledged doctors who can assess your history and give you a temporary prescription. If you have records this will help.
Telemedicine: not likely, almost all of these do not give prescriptions or refills for controlled substances.
Or: call your doctor and see if they will attempt a refill where you are, that way you don't have to deal directly with the pharmacy.
The emergency room if you get in trouble, for example, sleep deprivation. That would be a last resort.
Hope this helps.
Please do a positive rating at this point, a 5 gets me credit with just answer, but I am happy to address further concerns.