When it comes to cooking a turkey, there are a few things you need to keep in mind. First and foremost, you need to make sure the turkey is fully cooked before eating it. The best way to do this is by using a meat thermometer. Stick the thermometer into the thickest part of the turkey (usually the thigh) and make sure that the internal temperature is at least 165 degrees Fahrenheit. If it isn't, put the turkey back in the oven and continue cooking it until it reaches that temperature.
Another thing to keep in mind when cooking a turkey is how long to cook it for. A general rule of thumb is to cook your turkey for about 15 minutes per pound at 350 degrees Fahrenheit. So, if you have a 20-pound turkey, you would cook it for about 300 minutes (5 hours). Again, use a meat thermometer to check that the internal temperature has reached 165 degrees Fahrenheit before taking it out of the oven.
Lastly, don't forget about basting your turkey! Basting helps keep your turkey moist and flavorful. Every 30 minutes or so, take some of the juices from the bottom of the pan and spoon them over top of your bird. This will help ensure a delicious Thanksgiving feast!