As mentioned by Nigel, have the diagnostic codes read (OBD Scanners are available on eBay & are a worthwhile investment). You don't mention the vehicle age (could have nikasil lining issues like my xjr!), but coil packs are often suspect too.
Paul Jones (Medical Electronics Engineer - Ex TV/Video/Audio)), September 2009