how to use devices for medication