Is it after you beat the game ? or at an early point ?
When you beat the Pokemon League, you unlock this item/place called "Pokeshifter" that lets you migerate from Diamond - HG/SS (Previous DS pokemon games only).
To answer your question properly, after you beat the Pokemon League. :D
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.