How large of a cord should I use when wiring an appliance?

Use cords with 16-guage wire for appliances pulling less than 15 amps and 12-guage wire for appliances pulling up to 20 amps?