You have something setting off a code . The sensors tell the computer whats going on with the engine , If the computer dont like what it's hearing , it turns the check engine light on . Depending on how mechanically inclined you are , and if you have some basic tools , then you can go to the auto parts store and buy a code scanner for about 30 dollars . Then you just plug it in and follow the instructions and it will tell you what part is causing the check engine light to come on . Every time the check engine light comes on the computer stores a code . You can pull the codes any time you see the light come on . It's a pretty handy little tool . Even if you dont want to repair it yourself , you'll at least have a good idea of what the problem is when you take it to a shop .
