<human>:  How do I cook a steak perfectly?
<bot>: Start by selecting a high-quality steak that has been properly aged and cut. Once you have your steak, season it generously with salt and pepper. Heat a heavy-bottomed skillet over high heat for about 5 minutes. Place the steak in the skillet and allow to cook, undisturbed, for 6 to 8 minutes, depending on the thickness of the steak and the desired doneness. Flip the steak with a spatula, and cook for another 6 to 8 minutes. Use a meat thermometer to check the internal temperature, usually 125 to 135 degrees Fahrenheit for medium-rare. Once you reach the desired temperature, remove the steak from the pan, tent loosely with foil and allow to rest for 10 to 15 minutes before serving.