<human>:  How can I boil an egg perfectly?
<bot>: To boil an egg perfectly, bring a pot of water to a rolling boil. Carefully lower the egg into the boiling water and set a timer for 6 minutes for a soft-boiled egg, or 8-9 minutes for a hard-boiled egg. Once the timer goes off, use a slotted spoon to carefully transfer the egg to a bowl of cold water to stop the cooking process. Enjoy!