Vessels in which a non-Jew cooked foods of bishulei goyim need kashering, as the Shulchan Aruch wrote in the plain ruling, and the halachah follows the plain statement. Earthenware is kashered by hagalah three times. If one erred and cooked in such a vessel, even if it is ben yomo, the dish is permitted.