The phrase "to butter the pan" means to apply a thin layer of butter on the inside surface of a cooking pan before using it. This helps prevent food from sticking to the pan while cooking.