Car wont stay running on 2005 Kia Optima

My 2005 Kia Optima starts but will not stay running, any advice on problem?

Asked by for the 2005 Kia Optima
key word (KIA) buy differnt car! Try american this time! Unless your foriegn!
thanks no help...
2 more answers , 2 more comments
That dosent help me.......
cam shaft sensor
I agree. It is probably the cam shaft sensor. I had this issue about 1 month ago and when it finally started after 15 tries it would only go about 4 miles an hour. Got to a shop and they reset the code and have not had another problem yet. I am taking it to the dealer this weekend for a tune up