Why do you even wait and come here to ask??? Go to a garage and check it out already!!!
Engine is dying, there are so many factors, you check engine light came on so the ECU will recorded what happened, go to a garage and tell them to read the past error codes then you should know whats wrong and get it fixed.