There are several methods of thawing frozen meats, but for something as big as a whole turkey two ways suit best. Defrosting it in a fridge and defrosting it in cold water. This way, the outer parts of turkey don’t get bad before the inner part thaws. That’s why thawing turkey at room temperature is usually a not very good option.
https://club.cooking/articles/how-long-to-thaw-a-turkey/