Remove the turkey from the fridge one hour prior to cooking to allow it to come to room temperature.
Preheat the oven to 350°F/180°C.
Remove the neck and giblets, and save them for gravy if you wish to make giblet gravy. Remove any pin feathers that were left behind, and pat the bird dry using paper towels. Do NOT rinse the turkey.
Tuck the wings behind the bird, then season the cavity with salt and pepper and stuff with onion quarters, garlic cloves, and fresh herbs. Truss the legs using butcher twine for better presentation.
Place on a roasting rack, season with salt and pepper, and brush with melted butter from all sides. If you wish to make gravy using the drippings, add some aromatics to the bottom of the roasting pan (I add 1 onion sliced in half, garlic, and fresh herbs).
Bake in the oven for 2-4 hours depending on the size of the bird (check cooking times in the notes below).
When it browns nicely, make herb butter (mix 2 tablespoons of melted butter with 1 tablespoon of fresh herbs), brush it over the skin using a pastry brush, then put the turkey back in the oven for 30 more minutes or until it reaches the desired temperature.
To prevent excessive browning, shield the turkey breast with foil. Check the temperature of the bird using a Thermapen kitchen thermometer. When a kitchen thermometer is inserted into the thickest part of the breast reaches 165°F/74°C, and the inner thigh reaches at least 170°F/77°C, the turkey is done and must be removed from the oven immediately.
Allow the bird to rest for 30-40 minutes and up to 1 hour before carving, this will help redistribute the juices and keep the turkey moist.