Plan B

Can someone explain to me what plan B actually does??