What are the fault codes?
What exactly do you mean by: "After ignition off and back on it resets itself?"
If you mean the limp mode then that's normal and how they have designed it.
If you mean the amber light (Officially called MIL, also called engine check light) than that's unfortunately how they made it, but officially it's illegal under the EOBD rules.
The amber light should remain on for at least 3 engine starts.
If the amber light goes out on the first restart then it's possible that the fault codes are also erased (again illegal under EOBD rules).
If that is the case then the fault codes need to be read with the amber light still on.