2008 Hyundai Veracruz - Dead battery and lights

Most auto parts stores will check your alternator for free.
Could also be corroded connections on the battery and/or ground.