The answer depends on the type of medicine you take, where you live and where you travel.
Preparation before the trip
Make multiple hard copies or photographs of your prescription; if possible take the English version of it. Please keep a digital copy with yourself for travel, while you can send the same to your relatives or friends in case of any emergency. They can get it back to you from them when you will be needed. Some people even take pictures of their vials to carry. You can also upload these on your Google drive too for emergency use.
Mail from your doctor
If you are more careful, you can ask your doctor for a letter stating the name of the medicines you need to take and why you should take them. If you lose your medication, you can bring your doctor’s letter to the pharmacy or to your local clinic for information and prescription.
Keep it in Hand Luggage
Never leave pills in your checked baggage, whether you are traveling by plane, train or bus. Instead of keeping it in your carry-on luggage and always carry it with you.
Steps to take when you lost your drug:
If these are just simple drugs, you do not need to take this step. However, for expensive remedies or important papers, lost at the airport or at the police station then it may be helpful for you when working with a travel insurance company. You can claim your papers against the insurance company and you can get the value of it in return.
Contact travel insurance
There are many travel insurance regulations come with options that allow you to contact a local travel company for assistance when needed. If there are any problems, contact the company and ask for help. They can arrange you looking for a doctor or a pharmacy.
Contact your consulate or embassy
If these are extremely important medicines that you cannot afford, you can choose to contact the consulate or embassy for assistance.
However, choose this only when you really have no other choice, as most embassies only deal with urgent and paperwork-related tasks.
Coming to the pharmacy
This is where you can submit letters written by your doctor for a new prescription. In case of need, a pharmacist may contact your doctor to collect enough information before selling you the drugs prescribed in the prescription.
Find a local doctor
You may need to make an appointment with a local doctor for a new prescription. Give this person all the information you have, such as a letter from your doctor, prescription details, prescription photo and doctors contact information.
Delivery of Medicines
This sounds the simplest, but the reality is hard to do. In the United States, only pharmacists have the right to send prescribed drugs by post, and only those registered with the authorities have the right to send or receive drugs.
Similarly, in the UK and Canada, you must also ensure that there are many complex conditions in which to deliver drugs in their territory. You can also get your medicines online by using some Apps by uploading your prescription photo copies.