Is there a good way to prevent stress in it industry?

Stress is. Part of life. It is the sensory input to the brain that enables you to adapt to environmental influences on a daily basis, including work. The only defenses are 1 proper diet as fuel, 2 adequate rest, 3 an outside interest or hobby and 4, a loving relationship.
Stress Less. Ways to address stress. Talk about feelings ; address problems. Don't avoid them. Aim for 7.5 - 8 hours of sleep/ night. Daily physical activity is optimal in a green space. Eat healthfully. Cut out junk carbs, caffeine ; alcohol (or moderate). Try qi gong, tai chi, acupuncture, acupressure, homeopathy, meditation, yoga, exercise program, deep breathing exercises or progressive muscle relaxation.