Exhaust and Knock Sensor on 1999 Infiniti I30

How do I replace the Exhaust Gas Recurculation Flow Malfunction and Knock Sensor? The check engine light is on due to these issues, so any immediate answers would be helpful.

2 answers
don't know u tell me
expensive guess for egr. are you sure it is bad. a lot of issues can cause this code that are not the valve.
forget the knock sensor code. it will not return once the flow code is resolved.

Roy