Question: what do you say to someone who has been cheated on?
Answer: Two wrongs don't make a right." Telling her to teach him a lesson only sets the stage for more anger, betrayal and hurt. To really help your friend, encourage her to think about the kind of relationship she does want and to go for it. Remind her she's in charge of getting what's best for her.