Q:

What do you do when someone is mad

Answer

If you did something to make them mad then you need to apologize, even if it wasn't your fault. It's best to mend the friendship.