Again depends.....
1) How long have they been your mate?
2) Are they a family friend also?
3) Is what they are ding directly affecting you or just insulting you?
4) Is what they are doing illegal?
and lastly
5) Is what they are doing 'that' bad enough to lose a good friendship over?