Is it ok to drive my car once the check engine light turns off?

I drive a 2016 Honda Civic. A couple days ago my Check engine Light turned on. It turned off today. I got it checked and the code was P0326, a knock sensor problem. Should I get it checked even though the light turned off?

Read more: https://hondanews.net/odyssey/is-it-ok-to-drive-my-car-once-the-check-engine-light.html