.......
Read the wifi manual that came with a WFC compatible game, first of all.
Anyway, you need one of the following games.
Animal Crossing: Wild World
Metroid Prime Hunters
Mario Kart DS
LostMagic
Tony Hawk: Amerian Sk8land
Tetris DS
2) Go into the wifi settings on the game.
3) Choose the big blue button (=P), and set up a connection with one of the three empty boxes. Or, if using the adaptor, choose the bottom one.
4) Once it's connected and everything, it'll be saved onto your DS, not the game. Now go back into the game, and fight/battle/meet/duel/skate against other players around the world. =P
(For ACWW (Animal Crossing: Wild World) wifi features, you'll NEED to have people added on your friend list.)