Hello and welcome to justanswer.com
When the service engine soon light comes on the powertrain control module has detected a fault and has turned the light on. You will need a compatible scan tool to read the codes that are logged. Most autozones and advanced autos will read the codes at no charge. If you would like let me know what they are so I can assist you with the diagnosis and repair. It can be as simple as a loose gas cap but can be something that can lead to a problem.