Negative emotions can spread through social interactions, a phenomenon known as emotional contagion. Spending time around people who are frequently distressed may affect your mood and stress levels. Chronic stress can also influence immune function, although the effects vary from person to person. Protecting your mental well-being starts with recognizing how your relationships affect you.