generally if you disconnect the battery for 20 min, it should go back to factory setting is what the local dealer told me. But if you tried to program another key with using just one, the dealer or a very good locksmith who has the programing can do it or has to do it I was told
That is what happened to mine but I was near a dealership and a took it there they tried to program a key I bought off ebay hahaha no good they charged me 150 bucks cause the ebay key screwed something up in the programing and they said they had to perform a diagnostic on it to find where the problem is.