If you still want to stay friends with the person, have a conversation about your values so they understand what they did wrong.