How do you open a car without breaking the glass?

By accident I put the keys in the car and I can not open it. So the thing is how do you open the car without breaking the glass?