check all spark plug wires and plugs, could possibly be the ignition module and coil packs located towards the front of the motor. More easily accessed form under the front of car. If you want to save money, usually can find @ a junk-yard for around $30.
Search Pontiac Grand Prix Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Pontiac Grand Prix Experts