RepairPal Certified shops can diagnose and repair your 1998 Nissan 200SX. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
It could be a number of things, but if I had to take a wild guess, I'd say check out the charging system. It sounds like you have a dead battery. If it died while the car was running that may point to a bad alternator.