There are two main ways inhaled medicine is used: with an inhaler and with a nebulizer . Inhalers and nebulizers have the same purpose: to get the medicine into your lungs. Both deliver the same type of medicine, and they work equally well when you use them the way you should.