1. Insert your real Pokemon game into the GBA slot of your Nintendo DS Lite.
2. Insert your EDGE flash card into the DS slot.
3. Turn on your Nintendo DS Lite.
4. Select "Transfer" from the main menu.
5. Follow the on-screen instructions to transfer your Pokemon.
Please note that you can only transfer Pokémon from one game to another of the same generation. For example, you can transfer Pokémon from Ruby to Sapphire, or from Emerald to Fire Red. You cannot transfer Pokémon from one generation to another, such as from Ruby to Diamond.
Also, you will need to have a copy of the same game on the EDGE flash cart in order to migrate the pokemon over.