I have a 2008 Pontiac Grand Prix and the headlights went
out, fuse is okay, bulbs okay, what else could it be, this
happened one time before and the lights ended up
coming back on after few weeks but this time they haven't
and I need to get my car inspected ASAP
Sounds like a headlight switch has went bad. There were a few of these than were burning up the connector right at the switch, unfortunately you have to get in there to look at it.
Search Pontiac Grand Prix Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Pontiac Grand Prix Experts