<human>:  How do I cook a steak?
<bot>: To cook a steak, start by preheating your oven to 400 degrees Fahrenheit. Pat the steak dry with paper towels, then season it generously with salt and pepper. Heat a heavy skillet over high heat for a few minutes. When the skillet is hot, add a few tablespoons of oil or butter and place the steak in the pan. Sear the steak for about 3 minutes per side, or until it has a dark golden-brown crust. Then, transfer the steak to a wire rack on a baking sheet and place it in the preheated oven. Bake for 6-10 minutes, or until the steak has reached the desired doneness. To check the internal temperature of the steak, insert an instant-read thermometer in the thickest part; the ideal temperature to medium rare is 135°F. Enjoy your steak!