Welcome to WiiChat Flaquiz. In order to play with friends online, you'll need to purchase a game that has the blue Nintendo Wi-Fi logo on the upper left hand corner of the game's box. From there, add their friend code and have your friend add yours. You should be set after that.
Enjoy the forums.