Hmmm...starts then quits you say? Well, I guess that could be about 50 different things. I respectfully suggest you be more specific so that people can help you. Any lights? Noises? Smells? Any work done to the car recently? Is it or has it been exhibiting other symptoms?
Start with simple things like checking battery cables for figment and corrosion. If it is within your capacity, check for fuel pump pressure. Check the wiring harness at your ignition. Provide as much detail as possible so that the real mechanics here can guide you. I'll just be standing by watching and trying the learn a few things. Good luck to you.