Car not starting

My rpm gauge has stopped working and now it won’t start. The spark plugs were changed but that didn’t fix the problem, it’s a Pontiac g6 3.5