Check for vacuum leaks first or disconnected vacuum lines. I'm not sure what the engine bay looks like on your model but if it has a secondary air pump, check all the lines going to and from it.
Then clean the MAF, throttle body, inspect spark plugs or change them if they haven't been changed in a while, delete the codes, and take it for a test drive.
Use :Make smoke leak testing with a smoke machine via larger openings a whole lot easier! Simply fit the cone into diagnostic site (ie. exhaust tip or intake boot) and inject smoke through the adapter hose for testing system leaks.
That above tool is vital for any driveway mechanic to own. You disconnect the big rubber hose from your air filter box, shove that cone in the hose, and if you happen to vape or smoke, blow vape/tobacco smoke into the hose (you may need to attach another hose if it's not long enough), keep blowing smoke and listen for hissing or watch for leaking smoke coming from anywhere.
In a pinch, you can also take a strong rubber glove, cut the middle finger off, shove a hose of some sort inside the finger, tape it up, and stretch the hand opening around the big rubber intake hose and do it that way.