Price controls

How do price controls contribute to shortages and surpluses?