Environmental and food allergens can cause asthma attacks. Those with asthma can test if they are producing high levels of IgG antibodies towards particular foods.Tabaco can increase the risk of asthma attacks.Occupations such as woodworking, health care professions, baking and detergent manufacturing can be associated with asthma.Viral infections during infancy and early childhood can increase risks of asthma.Certain medications such as non-steroidal anti-inflammatory drugs and ACE-inhibitors can trigger asthma.Conditions such as stress can also increase asthma attacks.