If you are talking about trading with another person that has a different version, it is the same as any other type of trade, except they get version exclusives.
If you mean by trading with yourself, you would have to have 2 DS's. Another way to get Pokemon between versions is to use pokebank on a single DS and deposit a Pokemon from one version, then take it out of the other.