While it can be difficult to recognize when a friendship is unhealthy, leaving these relationships behind can help prevent lasting mental health effects.