Ask for advice

I have a problem and I need advice. I have a group of friends that I met a long time ago, but they are very undisciplined and sometimes I think they are bad influence. However, I grew up with them and they are very close. Should I get away from them or not?