Your question doesn't give much information to work with. But most of the time when this problem arises suddenly, it's a dead or dying battery; you might have enough juice to light the lights, but not enough to turn the starter motor. Jump start the car properly; leave donor hooked up long enough to charge your battery, at least ten minutes. If your car starts, fine. If it does not start, replace your battery. After either of these, go to an auto parts store and have any codes read. They may point you to the reason your battery died.
Search General Questions