You can treat sudden asthma attacks by using ventolin .