If cooking the pork in the oven, heat oven to 425 degrees and cook for 20 minutes initially. Check the temperature and continue cooking for a few more minutes or until the internal temperature reaches 125 degrees. Remove from oven to brush with apricot glaze, then cook for an additional 20 minutes or so, until temperature reaches 145°F.