99 buick regal

99 Buick regal would sometimes not crank or fire when you wanted but next time would start right up, once it died while driving and started back up. The coil packs, wires and plugs are replaced. Would crank and run great before, now it wont crank. Turns over but no fire it seems