Hello ,
You need to do several things first.Using an appropriate scan tool review the freeze frame data to narrow down the cause for the check engine light being on.
The codes P1156 and P1161 relate to the MAP sensor and Intake Air Temperature sensor electrical circuits. These should be checked per the wiring the diagram. The wiring and connectors from the respective sensors to the ECM , the sensors , or possibly the ECM itself are suspect.
The P0380 is a common code relating to the Glow Plugs and their wiring. Common issues here are the wiring harness and/or the glow plug relay.
In these situations properly diagnosing the problem before making "repairs" will save you time and money.