If your friend is doing something harmful to themselves it’s not up to you to fix them. Yes do what you can to help them and make sure they don’t fall into too many unhealthy habits but just know you can’t stop them completely from the hurtful behavior