My engine light comes on after I changed fuel brands is this normal? on 2005 Saturn L300

my car hasnt been driven for 6 years since I was overseas. I'm now driving it and was recommended to use a higher grade of gas than what I normally use. For now the engine light never came on before until after I put fuel in the car

Asked by for the 2005 Saturn L300
Have someone pull code most auto parts stores will pull code for free, also check gas cap a loose cap will set off light.