The only way I know of is to reset your game.
It may be possible to use a "Forced Egg Hatch" code on it though... I've never tried, as I never had reason to.
Chat with our AI personalities
If you have a bad egg, your game card is finished, you can never get rid of a bad egg.
From personal experience, you don't. It is impossible. You can also restart the game.
You cannot get rid of a bad egg. The game will treat the bad egg as a real egg and will not let you get rid of it. So the only way to get rid of it is to delete your game and to start over.
The best way to get rid of a bad egg is if you have 2 ds's, another ds Pokemon game that you hate and trade the bad egg to that game and there you have it. This is the best way to get rid of a bad egg and P.S. you cannot give a poke'mon an egg.
If you are talking about the bad egg, it does not. That's why it is called a bad egg.