Getting Medication Abroad

Whenever I go on holiday I try to calculate how much medication I’m going to need, and take that amount of tablets with me. However, one of my biggest fears is that I’ll lose that medication, somehow or another. Has this ever happened to anyone/Is it easy say if you are on holiday to get the medication you need from a pharmacy abroad? Obviously it’ll vary by country, and probably by medication (mine is lamotrigine)