What exactly is the most common way to get an asthma attack?

Difficult to answer. Many asthmatics have allergies and exposure to that allergen can trigger an attack. Some have exercise induced asthma or cold air induced. Emotions (laughing, crying, etc) have also been shown to cause an attack.