You might treat sudden asthma attacks by taking ventolin .