To hatch an egg in Pearl/Diamond, all you have to do is walk around with it in your team! Honestly, its that simple. It's best to walk around with energetic, happy Pokemon. The egg will hatch quicker. The more steps you take with the egg in your team, the more likely it is to hatch.