The check engine light is a warning light where a sensor or the engine not performing as it should
it is hard what is the cause with out a scan tool
scan tool is a tool that communicates with the engine's ecu and retract the codes for diagnosis and repair!!
some times it is easy like a loose gas cap or a sensor to a major issue
a wide range of possibilities!!
is the check engine light flashing on and off or did the engine run rough?
ok good !! it is safe to drive to the repair center!!
if the light was flashing I highly recommend a tow to the repair facility!!
note if you make an appt the light may go off before the shop visit but the code is stored and will eventually come back!!
a scan test and diagnosis is needed!!