How to keep medicines safe