There are a few different methods for cooking a turkey, but the most common method is to roast it in the oven. First, the turkey must be thawed completely and the neck and giblets removed from the cavity. Then, the bird is usually stuffed with aromatics like onions, garlic, and herbs, and seasoned with salt and pepper. It is then placed on a roasting rack in a large baking dish, and roasted in the oven at a high temperature for the first half hour or so, then at a lower temperature for the remainder of the cooking time. The cooking time will vary depending on the size of the bird, but a good rule of thumb is to cook it for about 15 minutes per pound, or until a meat thermometer inserted into the thickest part of the bird registers a temperature of 165°F. While the turkey is cooking, it should be basted with its own juices every 30 minutes or so to keep it moist and flavorful. Once the turkey is done, it should be allowed to rest for at least 15 minutes before carving.