cranks and starts but wont keep ruuning

do you have a 5 or 4 pin ECU also does the connector have the same amount as the ECU