Have the trouble codes scanned to find out what the problem is. You can get this done for free at somewhere like Autozone.
Search Hyundai Elantra Questions
Hyundai Elantra Experts
Related Models For Sale
Used Cars For Sale