Welcome to the IBS forum!
Yes, most of us (if not all of us) feel stress contributes to IBS attacks. For many the stress of leaving the house and being away from a bathroom can kick start an attack. Stress causes an out pour of hormones which flood our body. Some people are more prone to upper GI problems, whereas others are prone to lower GI issues. I, unfortunately, get both. I get both nauseous and D. Sometimes I just get heartburn, other times it's just D. Whatever it is, stress definitely contributes. The best bet to combat it is to have some sort of stress management plan. Whether it be meditation or some type of exercise (Yoga, etc.). In the moment, the best thing is to do some deep breathing and maybe drink some calming tea. Green Tea is notorious for having calming effects. Theanine is an amino acid found in green tea that produces a calming effect on the brain. I also like Chamomile or any other tea claiming "calming" results.
When you eat, make sure to eat something light and fairly plain. Don't go crazy with grease or spicy. Mashed potatoes and baked chicken, or chicken soup are really calming on the gut (to most). Make sure not to stuff yourself either. Portion control is imperative for people with stomach issues.
I hope you feel better...