I have got the option mystery gift on Pokemon diamond but how do i get the gift?

you need 4 or 3 friends go to mysterie gift and push "receive gift" and then "wireless" do you and your friends and then wait. that's the way how they have explaint me