Some diseases, such as colds, flu and heartburn (GERD), can trigger an asthma attack. Getting the flu vaccine may help prevent asthma flare-ups.