Depending on the car, if you have two keys with working chips you can "teach" the car to use another chipped key. This can save you a lot of money if you buy a spare key online (rather than at the dealership) in advance of needing it. Check your owners manual for details. In the absence of a working chip key you do need to bring the car to the dealership.