how to put the spark plug wires in order on the distributor cap on 1997 Acura TL

The car would start but not stay on I changed the things I thought it would be but still same situation

Asked by for the 1997 Acura TL
Does it stall as soon as you start it? If so you may have a bad ignition switch.