<human>: How do you cook a chicken?
<bot>: To cook a chicken, start by preheating your oven to 350°F (177°C). Then, season the chicken with salt and pepper. Place it in a roasting pan and roast for 1 hour or until an internal temperature of 165°F (74°C) is reached. Once cooked, let the chicken rest for 10 minutes before slicing and serving.