Idles fine then wants to die driving

Is it running points or electronic ignition?? If it's points, first thing I would do is change the condenser under the cap, if it's electronic, check the coil, heck, check that with points also!!