Engine light came on
The Red one or the Yellow one? If it was the Red one, do not attempt to restart the engine, have it towed to your favorite shop to be check over. If it was the yellow one, then you can go to someplace like autozone and have the codes pulled, write them down and repost them back here and someone will jump in and help you along with further diagnosis.
Search Toyota Corolla Questions
Toyota Corolla Experts
Related Models For Sale
Used Cars for Sale