To prevent asthma attacks during exercise, use a bronchodilator inhaler 15-30 minutes before activity, warm up properly, and cool down afterward. Avoid exercising in cold, dry air or high pollen levels. Choose activities like swimming, which are less likely to trigger symptoms. Regularly monitor your asthma and adjust your management plan with your doctor.