<human>:  How to cook the perfect steak?
<bot>: The perfect steak requires careful attention to detail. Start by selecting the right type of steak. Choose a steak that is well-marbled and at least one-and-a-half inches thick. For the best flavor, use a steak that has been aged for at least three weeks. Bring the steak to room temperature before cooking by leaving it on the counter for an hour. Before cooking, season the steak on both sides with coarse salt and freshly ground black pepper.Heat a large cast-iron skillet over medium-high heat and place the steak in the skillet. Sear the steak for three minutes, then turn it over and sear the other side for three minutes. Reduce the heat to low and cook the steak for an additional five minutes on each side for medium-rare. Use a meat thermometer to check the steak, and take it off the heat when it reaches 135 degrees Fahrenheit. Let the steak rest for ten minutes before serving. Enjoy!