How do you trade a Pokemon?

Well, it depends; are you trying to trade on Wifi, with your Gameboy, or with your DS?