Someone turns your good friend against you

How do you handle this situation? It's more common than you might think.