Go use the second key and see what happens. If the second key works - use it. Otherwise it will cost you around $200 for a new key. I presume your car is a 2001+, becuase the key units are sealed and you can't change the battery.
Same thing happened to my wife's car this week after she picked it up from the detailing place.