If your code is red, then it is serious and it can affect drivability. If the code is yellow, then it is not as serious and should not affect drivability. However, you should fix both as soon as possible.
So, if you are not a professional or experienced in vehicle repair, we recommend that you see a mechanic whenever an issue comes up! Waiting to resolve the issue can cause more issues to develop.