Stress can really damage your microbiome. Studies show that elevated cortisol (the hormone released during your fight-or-flight response) changes your microbiome [Source: NCBI].
Try to be aware of your stress levels, and minimise them through activities like meditation, breathing exercises and journaling. Over the long term, these little habits can build up into big changes.