Mazda 3 2006

I was driving my car, and suddenly the check engine light appeared. I went to a mechanic, and after he checked the error using the specialized computer, he found the error was the catalizador filter. I’ve changed it to a brand new one, but still gives me the same error. HELP