Asthma Medications. Anti-inflammatory drugs, particularly inhaled steroids, are the most important treatment for most people with asthma. These lifesaving medications prevent asthma attacks and work by reducing swelling and mucus production in the airways.