There are many methods to cook an egg until it's hard-boiled. My favorite is to place it the eggs in water, bring it to a rolling boil, then remove from heat and cover for 13 minutes. You can see more HERE.