What made you realise that your friend was not a good person ?

What moment made you realise that a person you consider your friend was not a good person. And did you do anything about it?