Lechatchila one should not buy a second-hand oven used for forbidden foods. In need, or after a costly mistake, wait twenty-four hours and heat it at the highest heat for an hour, as Yabia Omer and Yechaveh Daat write, and replace the pans. If its history is unknown, twenty-four hours suffice. A pyrolytic self-clean permits meat and milk together.