Just got a tune recently and I’ve got the back up file for stock tune- how do I flash it back to stock?

New tune is throwing a CEL and I need to know how to do it for smogging the car later.

Thanks in advance.